Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.17 25 lines 626 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Ptrace definitions for the Hexagon architecture 4 * 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 6 */ 7 8#ifndef _ASM_HEXAGON_PTRACE_H 9#define _ASM_HEXAGON_PTRACE_H 10 11#include <uapi/asm/ptrace.h> 12 13/* kprobe-based event tracer support */ 14extern int regs_query_register_offset(const char *name); 15extern const char *regs_query_register_name(unsigned int offset); 16 17#define current_pt_regs() \ 18 ((struct pt_regs *) \ 19 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1) 20 21#if CONFIG_HEXAGON_ARCH_VERSION >= 4 22#define arch_has_single_step() (1) 23#endif 24 25#endif