Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 4 files as a member:
- include/uapi/linux/perf_event.h, line 462 (as a member)
- tools/lib/perf/include/perf/event.h, line 615 (as a member)
- tools/perf/util/record.h, line 56 (as a member)
- tools/perf/util/tool.h, line 65 (as a member)
Defined in 2 files as a function:
- arch/um/kernel/um_arch.c, line 454 (as a function)
- arch/x86/kernel/alternative.c, line 2497 (as a function)
Referenced in 19 files:
- arch/um/kernel/um_arch.c, line 468
- arch/x86/kernel/alternative.c
- arch/x86/kernel/kprobes/core.c
- arch/x86/kernel/kprobes/opt.c
- arch/x86/kernel/module.c, line 189
- kernel/events/core.c
- tools/perf/arch/x86/util/intel-pt.c, line 842
- tools/perf/builtin-inject.c
- tools/perf/builtin-record.c
- tools/perf/builtin-script.c, line 3249
- tools/perf/util/aslr.c, line 1271
- tools/perf/util/event.c, line 548
- tools/perf/util/evsel.c, line 1723
- tools/perf/util/machine.c
- tools/perf/util/perf_api_probe.c, line 114
- tools/perf/util/perf_event_attr_fprintf.c, line 380
- tools/perf/util/python.c, line 3885
- tools/perf/util/session.c
- tools/perf/util/tool.c
Smatch caller information:
arch/x86/kernel/kprobes/core.c arch_arm_kprobe() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opcode | 6966713668101435392 |
| PARAM_VALUE | 1 | *opcode | 204 |
| PARAM_VALUE | 2 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | _T->lock |
arch/x86/kernel/kprobes/core.c arch_copy_kprobe() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 1-u64max |
| PARAM_VALUE | 1 | opcode | 1894839125929943040 |
| PARAM_VALUE | 1 | *opcode | 204 |
| PARAM_VALUE | 2 | len | 1 |
| BUF_SIZE | 1 | opcode | 15 |
| DATA_SOURCE | 2 | len | r prepare_singlestep |
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &fei_lock | ||
| HALF_LOCKED2 | global &jump_label_mutex |
arch/x86/kernel/kprobes/core.c arch_disarm_kprobe() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opcode | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | _T->lock |
arch/x86/kernel/alternative.c smp_text_poke_batch_finish() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opcode | 1441565823457382400 |
| PARAM_VALUE | 1 | *opcode | 204 |
| PARAM_VALUE | 2 | len | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &text_mutex |
arch/x86/kernel/alternative.c smp_text_poke_batch_finish() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 1 | opcode | 4096-ptr_max |
| PARAM_VALUE | 1 | *opcode | 0-255 |
| PARAM_VALUE | 2 | len | 1-254 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &text_mutex |
arch/x86/kernel/alternative.c smp_text_poke_batch_finish() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opcode | 939232219668111360 |
| PARAM_VALUE | 1 | *opcode | 0-203,205-255 |
| PARAM_VALUE | 2 | len | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &text_mutex |
arch/x86/kernel/kprobes/opt.c arch_prepare_optimized_kprobe() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 1-u64max |
| PARAM_VALUE | 1 | opcode | 1-u64max |
| PARAM_VALUE | 2 | len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | opcode | 14469531162308055064 |
| DATA_SOURCE | 0 | addr | r get_optinsn_slot |
| DATA_SOURCE | 1 | opcode | r _kzalloc_noprof |
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | global &jump_label_mutex | ||
| HALF_LOCKED2 | global &fei_lock |
arch/x86/kernel/kprobes/opt.c arch_unoptimize_kprobe() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opcode | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1 |
| BUF_SIZE | 1 | opcode | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | _T->lock |
arch/x86/kernel/kprobes/opt.c arch_unoptimize_kprobe() -> text_poke()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 0 | *addr | 0-255 |
| PARAM_VALUE | 1 | opcode | 6662974668361564161 |
| PARAM_VALUE | 1 | *opcode | 0-255 |
| PARAM_VALUE | 2 | len | 4 |
| BUF_SIZE | 1 | opcode | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| LOCK2 | _T->lock |
arch/x86/kernel/module.c __write_relocate_add() -> __write_relocate_add param 5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 1 | opcode | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 4,8 |
| BUF_SIZE | 1 | opcode | 8 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| FUZZY_MAX | 2 | len | 8 |
| BIT_INFO | 2 | len | 0x0,0xc |
| BIT_INFO | 2 | len | 0x0,0xc |
| HARD_MAX | 2 | len | 8 |
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| HALF_LOCKED2 | global &text_mutex |
arch/x86/kernel/module.c __write_relocate_add() -> __write_relocate_add param 5()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 1 | opcode | 5806169824584171520 |
| PARAM_VALUE | 1 | *opcode | 0 |
| PARAM_VALUE | 2 | len | 4,8 |
| BUF_SIZE | 1 | opcode | 8 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| FUZZY_MAX | 2 | len | 8 |
| BIT_INFO | 2 | len | 0x0,0xc |
| BIT_INFO | 2 | len | 0x0,0xc |
| HARD_MAX | 2 | len | 8 |
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| HALF_LOCKED2 | global &text_mutex |