Home
last modified time | relevance | path

Searched refs:text_poke (Results 1 – 23 of 23) sorted by relevance

/linux/arch/x86/kernel/
A Dalternative.c528 text_poke(ptr, ((unsigned char []){0xf0}), 1); in alternatives_smp_lock()
544 text_poke(ptr, ((unsigned char []){0x3E}), 1); in alternatives_smp_unlock()
1079 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() function
1294 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch()
1310 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch()
1361 text_poke(text_poke_addr(&tp[i]), tp[i].text, INT3_INSN_SIZE); in text_poke_bp_batch()
A Dmodule.c232 write = text_poke; in apply_relocate_add()
/linux/arch/x86/kernel/kprobes/
A Dopt.c466 text_poke(slot, buf, len); in arch_prepare_optimized_kprobe()
528 text_poke(addr, new, INT3_INSN_SIZE); in arch_unoptimize_kprobe()
530 text_poke(addr + INT3_INSN_SIZE, in arch_unoptimize_kprobe()
A Dcore.c717 text_poke(p->ainsn.insn, buf, len); in arch_copy_kprobe()
752 text_poke(p->addr, &int3, 1); in arch_arm_kprobe()
762 text_poke(p->addr, &p->opcode, 1); in arch_disarm_kprobe()
/linux/tools/perf/util/
A Dsession.c511 if (tool->text_poke == NULL) in perf_tool__fill_defaults()
512 tool->text_poke = perf_event__process_text_poke; in perf_tool__fill_defaults()
690 event->text_poke.addr = bswap_64(event->text_poke.addr); in perf_event__text_poke_swap()
691 event->text_poke.old_len = bswap_16(event->text_poke.old_len); in perf_event__text_poke_swap()
692 event->text_poke.new_len = bswap_16(event->text_poke.new_len); in perf_event__text_poke_swap()
695 size_t len = sizeof(event->text_poke.old_len) + in perf_event__text_poke_swap()
696 sizeof(event->text_poke.new_len) + in perf_event__text_poke_swap()
697 event->text_poke.old_len + in perf_event__text_poke_swap()
698 event->text_poke.new_len; in perf_event__text_poke_swap()
699 void *data = &event->text_poke.old_len; in perf_event__text_poke_swap()
[all …]
A Drecord.h53 bool text_poke; member
A Dtool.h62 text_poke; member
A Dperf_api_probe.c98 evsel->core.attr.text_poke = 1; in perf_probe_text_poke()
A Dmachine.c859 struct map *map = maps__find(&machine->kmaps, event->text_poke.addr); in machine__process_text_poke()
865 if (!event->text_poke.new_len) in machine__process_text_poke()
874 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; in machine__process_text_poke()
883 event->text_poke.addr, in machine__process_text_poke()
885 event->text_poke.new_len); in machine__process_text_poke()
886 if (ret != event->text_poke.new_len) in machine__process_text_poke()
888 event->text_poke.addr); in machine__process_text_poke()
891 event->text_poke.addr); in machine__process_text_poke()
A Dperf_event_attr_fprintf.c138 PRINT_ATTRf(text_poke, p_unsigned); in perf_event_attr__fprintf()
A Dintel-pt.c2980 u64 addr = event->text_poke.addr + event->text_poke.new_len - 1; in intel_pt_text_poke()
2982 int cnt = 4096 + event->text_poke.new_len; in intel_pt_text_poke()
2989 if (!event->text_poke.new_len) in intel_pt_text_poke()
2994 if (addr < event->text_poke.addr) in intel_pt_text_poke()
3008 if (addr + e->byte_cnt + e->length <= event->text_poke.addr) { in intel_pt_text_poke()
A Devent.c479 struct perf_record_text_poke_event *tp = &event->text_poke; in perf_event__fprintf_text_poke()
A Devsel.c1233 if (!opts->text_poke) in evsel__config()
/linux/arch/x86/include/asm/
A Dtext-patching.h44 extern void *text_poke(void *addr, const void *opcode, size_t len);
/linux/arch/um/kernel/
A Dum_arch.c432 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() function
/linux/tools/lib/perf/include/perf/
A Devent.h410 struct perf_record_text_poke_event text_poke; member
/linux/tools/include/uapi/linux/
A Dperf_event.h407 text_poke : 1, /* include text poke events */ member
/linux/include/uapi/linux/
A Dperf_event.h407 text_poke : 1, /* include text poke events */ member
/linux/tools/perf/
A Dbuiltin-record.c782 if (evsel->core.attr.text_poke) in record__config_text_poke()
794 evsel->core.attr.text_poke = 1; in record__config_text_poke()
2917 if (rec->opts.text_poke) { in cmd_record()
A Dbuiltin-inject.c896 .text_poke = perf_event__repipe, in cmd_inject()
A Dbuiltin-script.c2671 script->tool.text_poke = process_text_poke_events; in __cmd_script()
/linux/tools/perf/arch/x86/util/
A Dintel-pt.c848 opts->text_poke = true; in intel_pt_recording_options()
/linux/kernel/events/
A Dcore.c4761 attr->context_switch || attr->text_poke || in is_sb_event()
4839 if (event->attr.text_poke) in unaccount_event()
8993 return event->attr.text_poke; in perf_event_text_poke_match()
11433 if (event->attr.text_poke) in account_event()

Completed in 95 milliseconds