arch/xtensa/include/asm/hw_breakpoint.h
Source file repositories/reference/linux-study-clean/arch/xtensa/include/asm/hw_breakpoint.h
File Facts
- System
- Linux kernel
- Corpus path
arch/xtensa/include/asm/hw_breakpoint.h- Extension
.h- Size
- 1624 bytes
- Lines
- 63
- Domain
- Architecture Layer
- Bucket
- arch/xtensa
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kdebug.hlinux/types.huapi/linux/hw_breakpoint.h
Detected Declarations
struct arch_hw_breakpointstruct perf_event_attrstruct perf_eventstruct pt_regsstruct task_structstruct task_structfunction clear_ptrace_hw_breakpoint
Annotated Snippet
struct arch_hw_breakpoint {
unsigned long address;
u16 len;
u16 type;
};
struct perf_event_attr;
struct perf_event;
struct pt_regs;
struct task_struct;
int hw_breakpoint_slots(int type);
int arch_check_bp_in_kernelspace(struct arch_hw_breakpoint *hw);
int hw_breakpoint_arch_parse(struct perf_event *bp,
const struct perf_event_attr *attr,
struct arch_hw_breakpoint *hw);
int hw_breakpoint_exceptions_notify(struct notifier_block *unused,
unsigned long val, void *data);
int arch_install_hw_breakpoint(struct perf_event *bp);
void arch_uninstall_hw_breakpoint(struct perf_event *bp);
void hw_breakpoint_pmu_read(struct perf_event *bp);
int check_hw_breakpoint(struct pt_regs *regs);
void clear_ptrace_hw_breakpoint(struct task_struct *tsk);
void restore_dbreak(void);
#else
struct task_struct;
static inline void clear_ptrace_hw_breakpoint(struct task_struct *tsk)
{
}
#endif /* CONFIG_HAVE_HW_BREAKPOINT */
#endif /* __ASM_XTENSA_HW_BREAKPOINT_H */
Annotation
- Immediate include surface: `linux/kdebug.h`, `linux/types.h`, `uapi/linux/hw_breakpoint.h`.
- Detected declarations: `struct arch_hw_breakpoint`, `struct perf_event_attr`, `struct perf_event`, `struct pt_regs`, `struct task_struct`, `struct task_struct`, `function clear_ptrace_hw_breakpoint`.
- Atlas domain: Architecture Layer / arch/xtensa.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.