/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SCORE_PTRACE_H #define _ASM_SCORE_PTRACE_H #include <uapi/asm/ptrace.h> struct task_struct; /* * Does the process account for user or for system time? */ #define user_mode(regs) ((regs->cp0_psr & 8) == 8) #define instruction_pointer(regs) ((unsigned long)(regs)->cp0_epc) #define profile_pc(regs) instruction_pointer(regs) #define user_stack_pointer(r) ((unsigned long)(r)->regs[0]) extern void do_syscall_trace(struct pt_regs *regs, int entryexit); extern int read_tsk_long(struct task_struct *, unsigned long, unsigned long *); extern int read_tsk_short(struct task_struct *, unsigned long, unsigned short *); #define arch_has_single_step() (1) #endif /* _ASM_SCORE_PTRACE_H */Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Chen Liqin | 84 | 88.42% | 3 | 50.00% |
Al Viro | 7 | 7.37% | 1 | 16.67% |
David Howells | 3 | 3.16% | 1 | 16.67% |
Greg Kroah-Hartman | 1 | 1.05% | 1 | 16.67% |
Total | 95 | 100.00% | 6 | 100.00% |