/linux-6.12.1/arch/x86/kernel/kprobes/ |
D | opt.c | 453 text_poke(slot, buf, len); in arch_prepare_optimized_kprobe() 515 text_poke(addr, new, INT3_INSN_SIZE); in arch_unoptimize_kprobe() 517 text_poke(addr + INT3_INSN_SIZE, in arch_unoptimize_kprobe()
|
D | core.c | 784 text_poke(p->ainsn.insn, buf, len); in arch_copy_kprobe() 819 text_poke(p->addr, &int3, 1); in arch_arm_kprobe() 829 text_poke(p->addr, &p->opcode, 1); in arch_disarm_kprobe()
|
/linux-6.12.1/tools/perf/util/ |
D | record.h | 53 bool text_poke; member
|
D | tool.h | 63 text_poke; member
|
D | session.c | 391 event->text_poke.addr = bswap_64(event->text_poke.addr); in perf_event__text_poke_swap() 392 event->text_poke.old_len = bswap_16(event->text_poke.old_len); in perf_event__text_poke_swap() 393 event->text_poke.new_len = bswap_16(event->text_poke.new_len); in perf_event__text_poke_swap() 396 size_t len = sizeof(event->text_poke.old_len) + in perf_event__text_poke_swap() 397 sizeof(event->text_poke.new_len) + in perf_event__text_poke_swap() 398 event->text_poke.old_len + in perf_event__text_poke_swap() 399 event->text_poke.new_len; in perf_event__text_poke_swap() 400 void *data = &event->text_poke.old_len; in perf_event__text_poke_swap() 1327 return tool->text_poke(tool, event, sample, machine); in machines__deliver_event()
|
D | perf_api_probe.c | 99 evsel->core.attr.text_poke = 1; in perf_probe_text_poke()
|
D | machine.c | 783 struct map *map = maps__find(machine__kernel_maps(machine), event->text_poke.addr); in machine__process_text_poke() 790 if (!event->text_poke.new_len) in machine__process_text_poke() 799 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; in machine__process_text_poke() 808 event->text_poke.addr, in machine__process_text_poke() 810 event->text_poke.new_len); in machine__process_text_poke() 811 if (ret != event->text_poke.new_len) in machine__process_text_poke() 813 event->text_poke.addr); in machine__process_text_poke() 816 event->text_poke.addr); in machine__process_text_poke()
|
D | tool.c | 257 tool->text_poke = perf_event__process_text_poke; in perf_tool__init()
|
D | perf_event_attr_fprintf.c | 319 PRINT_ATTRf(text_poke, p_unsigned); in perf_event_attr__fprintf()
|
D | intel-pt.c | 3397 u64 addr = event->text_poke.addr + event->text_poke.new_len - 1; in intel_pt_text_poke() 3399 int cnt = 4096 + event->text_poke.new_len; in intel_pt_text_poke() 3408 if (!event->text_poke.new_len) in intel_pt_text_poke() 3415 if (addr < event->text_poke.addr) in intel_pt_text_poke() 3430 if (addr + e->byte_cnt + e->length <= event->text_poke.addr) { in intel_pt_text_poke()
|
D | event.c | 525 struct perf_record_text_poke_event *tp = &event->text_poke; in perf_event__fprintf_text_poke()
|
D | evsel.c | 1281 if (!opts->text_poke) in evsel__config()
|
/linux-6.12.1/arch/x86/kernel/ |
D | alternative.c | 1414 text_poke(ptr, ((unsigned char []){0xf0}), 1); in alternatives_smp_lock() 1430 text_poke(ptr, ((unsigned char []){0x3E}), 1); in alternatives_smp_unlock() 1980 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() function 2292 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch() 2317 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch() 2373 text_poke(text_poke_addr(&tp[i]), &byte, INT3_INSN_SIZE); in text_poke_bp_batch()
|
D | module.c | 186 write = text_poke; in write_relocate_add()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | text-patching.h | 34 extern void *text_poke(void *addr, const void *opcode, size_t len);
|
/linux-6.12.1/tools/lib/perf/include/perf/ |
D | event.h | 499 struct perf_record_text_poke_event text_poke; member
|
/linux-6.12.1/arch/um/kernel/ |
D | um_arch.c | 459 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() function
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-inject.txt | 104 and text_poke events are inserted, as well as build ID information.
|
/linux-6.12.1/include/uapi/linux/ |
D | perf_event.h | 458 text_poke : 1, /* include text poke events */ member
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | perf_event.h | 458 text_poke : 1, /* include text poke events */ member
|
/linux-6.12.1/tools/perf/ |
D | builtin-inject.c | 1427 gs->tool.text_poke = guest_session__repipe; in guest_session__start() 2251 inject->tool.text_poke = host__repipe; in __cmd_inject() 2514 inject.tool.text_poke = perf_event__repipe; in cmd_inject()
|
D | builtin-record.c | 908 if (evsel->core.attr.text_poke) in record__config_text_poke() 916 evsel->core.attr.text_poke = 1; in record__config_text_poke() 4042 rec->opts.text_poke = true; in cmd_record() 4218 if (rec->opts.text_poke) { in cmd_record()
|
D | builtin-script.c | 2942 script->tool.text_poke = process_text_poke_events; in __cmd_script()
|
/linux-6.12.1/tools/perf/arch/x86/util/ |
D | intel-pt.c | 836 opts->text_poke = true; in intel_pt_recording_options()
|
/linux-6.12.1/kernel/events/ |
D | core.c | 5121 attr->context_switch || attr->text_poke || in is_sb_event() 5190 if (event->attr.text_poke) in unaccount_event() 9513 return event->attr.text_poke; in perf_event_text_poke_match() 12085 if (event->attr.text_poke) in account_event()
|