Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/hw_breakpoint.h, line 106 (as a function)
- kernel/events/hw_breakpoint.c, line 742 (as a function)
Referenced in 8 files:
- arch/arm/kernel/ptrace.c, line 427
- arch/arm64/kernel/ptrace.c, line 315
- arch/loongarch/kernel/ptrace.c
- arch/powerpc/kernel/ptrace/ptrace-noadv.c
- arch/sh/kernel/ptrace_32.c, line 89
- arch/x86/kernel/ptrace.c, line 540
- arch/xtensa/kernel/ptrace.c, line 398
- kernel/events/hw_breakpoint.c, line 750
Smatch caller information:
arch/x86/kernel/ptrace.c ptrace_register_breakpoint() -> register_user_hw_breakpoint()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 6427138724964331520 |
| PARAM_VALUE | 0 | attr->aux_action | 0 |
| PARAM_VALUE | 0 | attr->aux_output | 0 |
| PARAM_VALUE | 0 | attr->bp_len | 1-2,4,8 |
| PARAM_VALUE | 0 | attr->bp_type | 2-4 |
| PARAM_VALUE | 0 | attr->build_id | 0 |
| PARAM_VALUE | 0 | attr->cgroup | 0 |
| PARAM_VALUE | 0 | attr->clockid | 0 |
| PARAM_VALUE | 0 | attr->comm | 0 |
| PARAM_VALUE | 0 | attr->config | 0 |
| PARAM_VALUE | 0 | attr->config2 | 1-2,4,8 |
| PARAM_VALUE | 0 | attr->config3 | 0 |
| PARAM_VALUE | 0 | attr->config4 | 0 |
| PARAM_VALUE | 0 | attr->exclude_kernel | 1 |
| PARAM_VALUE | 0 | attr->freq | 0 |
| PARAM_VALUE | 0 | attr->inherit | 0 |
| PARAM_VALUE | 0 | attr->kprobe_addr | 1-2,4,8 |
| PARAM_VALUE | 0 | attr->ksymbol | 0 |
| PARAM_VALUE | 0 | attr->mmap | 0 |
| PARAM_VALUE | 0 | attr->mmap2 | 0 |
| PARAM_VALUE | 0 | attr->pinned | 1 |
| PARAM_VALUE | 0 | attr->probe_offset | 1-2,4,8 |
| PARAM_VALUE | 0 | attr->sample_freq | 1 |
| PARAM_VALUE | 0 | attr->sample_period | 1 |
| PARAM_VALUE | 0 | attr->sample_type | 0 |
| PARAM_VALUE | 0 | attr->sig_data | 0 |
| PARAM_VALUE | 0 | attr->sigtrap | 0 |
| PARAM_VALUE | 0 | attr->size | 144 |
| PARAM_VALUE | 0 | attr->task | 0 |
| PARAM_VALUE | 0 | attr->type | 5 |
| PARAM_VALUE | 2 | context | 0 |
| PARAM_VALUE | 3 | tsk | 4096-ptr_max |
| PARAM_VALUE | 3 | tsk->thread.ptrace_bps | 4096-ptr_max |
| CAPPED_DATA | 3 | tsk | 1 |
| DATA_SOURCE | 3 | tsk | $0 |
| MEM_ZERO | 0 | attr | |
| USER_DATA | 0 | attr->bp_addr | 0-u64max |
| USER_DATA | 0 | attr->disabled | 0[c] |
| NO_OVERFLOW_SIMPLE | 3 | tsk->dl.pi_se->dl_runtime |