Documented in 3 files:
- arch/mips/kernel/uprobes.c, line 52
- arch/powerpc/kernel/uprobes.c, line 21
- kernel/events/uprobes.c, line 168
Defined in 1 files as a prototype:
Defined in 4 files as a function:
- arch/mips/kernel/uprobes.c, line 62 (as a function)
- arch/powerpc/kernel/uprobes.c, line 26 (as a function)
- arch/riscv/kernel/probes/uprobes.c, line 21 (as a function)
- kernel/events/uprobes.c, line 177 (as a function)
Referenced in 1 files:
Smatch caller information:
kernel/events/uprobes.c is_trap_at_addr() -> is_trap_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 470518883760795648 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
kernel/events/uprobes.c prepare_uprobe() -> is_trap_insn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | insn | 4096-ptr_max |
| BUF_SIZE | 0 | insn | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &uprobe->consumer_rwsem | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &uprobe->register_rwsem | ||
| TYPE_LOCK | (struct uprobe)->consumer_rwsem |