arch/arm64/include/asm/kprobes.h

Source file repositories/reference/linux-study-clean/arch/arm64/include/asm/kprobes.h

File Facts

System
Linux kernel
Corpus path
arch/arm64/include/asm/kprobes.h
Extension
.h
Size
1213 bytes
Lines
53
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

struct prev_kprobe {
	struct kprobe *kp;
	unsigned int status;
};

/* per-cpu kprobe control block */
struct kprobe_ctlblk {
	unsigned int kprobe_status;
	unsigned long saved_irqflag;
	struct prev_kprobe prev_kprobe;
};

void arch_remove_kprobe(struct kprobe *);
int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
void __kretprobe_trampoline(void);
void __kprobes *trampoline_probe_handler(struct pt_regs *regs);

#endif /* CONFIG_KPROBES */

int __kprobes kprobe_brk_handler(struct pt_regs *regs,
				 unsigned long esr);
int __kprobes kprobe_ss_brk_handler(struct pt_regs *regs,
				 unsigned long esr);
int __kprobes kretprobe_brk_handler(struct pt_regs *regs,
				 unsigned long esr);

#endif /* _ARM_KPROBES_H */

Annotation

Implementation Notes