/Linux-v5.10/arch/x86/kernel/ |
D | alternative.c | 455 text_poke(ptr, ((unsigned char []){0xf0}), 1); in alternatives_smp_lock() 471 text_poke(ptr, ((unsigned char []){0x3E}), 1); in alternatives_smp_unlock() 975 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() function 1190 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch() 1206 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch() 1257 text_poke(text_poke_addr(&tp[i]), tp[i].text, INT3_INSN_SIZE); in text_poke_bp_batch()
|
D | module.c | 231 write = text_poke; in apply_relocate_add()
|
/Linux-v5.10/arch/x86/kernel/kprobes/ |
D | opt.c | 461 text_poke(slot, buf, len); in arch_prepare_optimized_kprobe() 523 text_poke(addr, new, INT3_INSN_SIZE); in arch_unoptimize_kprobe() 525 text_poke(addr + INT3_INSN_SIZE, in arch_unoptimize_kprobe()
|
D | core.c | 480 text_poke(p->ainsn.insn, buf, len); in arch_copy_kprobe() 512 text_poke(p->addr, &int3, 1); in arch_arm_kprobe() 522 text_poke(p->addr, &p->opcode, 1); in arch_disarm_kprobe()
|
/Linux-v5.10/tools/perf/util/ |
D | record.h | 51 bool text_poke; member
|
D | session.c | 493 if (tool->text_poke == NULL) in perf_tool__fill_defaults() 494 tool->text_poke = perf_event__process_text_poke; in perf_tool__fill_defaults() 667 event->text_poke.addr = bswap_64(event->text_poke.addr); in perf_event__text_poke_swap() 668 event->text_poke.old_len = bswap_16(event->text_poke.old_len); in perf_event__text_poke_swap() 669 event->text_poke.new_len = bswap_16(event->text_poke.new_len); in perf_event__text_poke_swap() 672 size_t len = sizeof(event->text_poke.old_len) + in perf_event__text_poke_swap() 673 sizeof(event->text_poke.new_len) + in perf_event__text_poke_swap() 674 event->text_poke.old_len + in perf_event__text_poke_swap() 675 event->text_poke.new_len; in perf_event__text_poke_swap() 676 void *data = &event->text_poke.old_len; in perf_event__text_poke_swap() [all …]
|
D | tool.h | 61 text_poke; member
|
D | perf_api_probe.c | 98 evsel->core.attr.text_poke = 1; in perf_probe_text_poke()
|
D | machine.c | 823 struct map *map = maps__find(&machine->kmaps, event->text_poke.addr); in machine__process_text_poke() 829 if (!event->text_poke.new_len) in machine__process_text_poke() 838 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; in machine__process_text_poke() 847 event->text_poke.addr, in machine__process_text_poke() 849 event->text_poke.new_len); in machine__process_text_poke() 850 if (ret != event->text_poke.new_len) in machine__process_text_poke() 852 event->text_poke.addr); in machine__process_text_poke() 855 event->text_poke.addr); in machine__process_text_poke()
|
D | perf_event_attr_fprintf.c | 150 PRINT_ATTRf(text_poke, p_unsigned); in perf_event_attr__fprintf()
|
D | intel-pt.c | 2650 u64 addr = event->text_poke.addr + event->text_poke.new_len - 1; in intel_pt_text_poke() 2652 int cnt = 4096 + event->text_poke.new_len; in intel_pt_text_poke() 2659 if (!event->text_poke.new_len) in intel_pt_text_poke() 2664 if (addr < event->text_poke.addr) in intel_pt_text_poke() 2678 if (addr + e->byte_cnt + e->length <= event->text_poke.addr) { in intel_pt_text_poke()
|
D | event.c | 445 struct perf_record_text_poke_event *tp = &event->text_poke; in perf_event__fprintf_text_poke()
|
D | evsel.c | 1181 if (!opts->text_poke) in evsel__config()
|
/Linux-v5.10/arch/x86/include/asm/ |
D | text-patching.h | 44 extern void *text_poke(void *addr, const void *opcode, size_t len);
|
/Linux-v5.10/arch/um/kernel/ |
D | um_arch.c | 365 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() function
|
/Linux-v5.10/tools/lib/perf/include/perf/ |
D | event.h | 392 struct perf_record_text_poke_event text_poke; member
|
/Linux-v5.10/include/uapi/linux/ |
D | perf_event.h | 386 text_poke : 1, /* include text poke events */ member
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | perf_event.h | 386 text_poke : 1, /* include text poke events */ member
|
/Linux-v5.10/tools/perf/ |
D | builtin-record.c | 777 if (evsel->core.attr.text_poke) in record__config_text_poke() 789 evsel->core.attr.text_poke = 1; in record__config_text_poke() 2811 if (rec->opts.text_poke) { in cmd_record()
|
D | builtin-inject.c | 822 .text_poke = perf_event__repipe, in cmd_inject()
|
D | builtin-script.c | 2522 script->tool.text_poke = process_text_poke_events; in __cmd_script()
|
/Linux-v5.10/tools/perf/arch/x86/util/ |
D | intel-pt.c | 842 opts->text_poke = true; in intel_pt_recording_options()
|
/Linux-v5.10/kernel/events/ |
D | core.c | 4614 attr->context_switch || attr->text_poke || in is_sb_event() 4690 if (event->attr.text_poke) in unaccount_event() 8684 return event->attr.text_poke; in perf_event_text_poke_match() 11085 if (event->attr.text_poke) in account_event()
|