Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/kprobes/
H A Dopt.c453 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()
H A Dcore.c746 text_poke(p->ainsn.insn, buf, len); in arch_copy_kprobe()
781 text_poke(p->addr, &int3, 1); in arch_arm_kprobe()
791 text_poke(p->addr, &p->opcode, 1); in arch_disarm_kprobe()
/openbmc/linux/tools/perf/util/
H A Drecord.h53 bool text_poke; member
H A Dtool.h63 text_poke; member
H A Dsession.c515 if (tool->text_poke == NULL) in perf_tool__fill_defaults()
516 tool->text_poke = perf_event__process_text_poke; in perf_tool__fill_defaults()
696 event->text_poke.addr = bswap_64(event->text_poke.addr); in perf_event__text_poke_swap()
697 event->text_poke.old_len = bswap_16(event->text_poke.old_len); in perf_event__text_poke_swap()
698 event->text_poke.new_len = bswap_16(event->text_poke.new_len); in perf_event__text_poke_swap()
701 size_t len = sizeof(event->text_poke.old_len) + in perf_event__text_poke_swap()
702 sizeof(event->text_poke.new_len) + in perf_event__text_poke_swap()
703 event->text_poke.old_len + in perf_event__text_poke_swap()
704 event->text_poke.new_len; in perf_event__text_poke_swap()
705 void *data = &event->text_poke.old_len; in perf_event__text_poke_swap()
[all …]
H A Dperf_api_probe.c99 evsel->core.attr.text_poke = 1; in perf_probe_text_poke()
H A Dmachine.c1001 struct map *map = maps__find(machine__kernel_maps(machine), event->text_poke.addr); in machine__process_text_poke()
1008 if (!event->text_poke.new_len) in machine__process_text_poke()
1017 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; in machine__process_text_poke()
1026 event->text_poke.addr, in machine__process_text_poke()
1028 event->text_poke.new_len); in machine__process_text_poke()
1029 if (ret != event->text_poke.new_len) in machine__process_text_poke()
1031 event->text_poke.addr); in machine__process_text_poke()
1034 event->text_poke.addr); in machine__process_text_poke()
H A Dperf_event_attr_fprintf.c318 PRINT_ATTRf(text_poke, p_unsigned); in perf_event_attr__fprintf()
H A Dintel-pt.c3397 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()
H A Devent.c505 struct perf_record_text_poke_event *tp = &event->text_poke; in perf_event__fprintf_text_poke()
H A Devsel.c1264 if (!opts->text_poke) in evsel__config()
/openbmc/linux/arch/x86/include/asm/
H A Dtext-patching.h44 extern void *text_poke(void *addr, const void *opcode, size_t len);
/openbmc/linux/arch/x86/kernel/
H A Dalternative.c1284 text_poke(ptr, ((unsigned char []){0xf0}), 1); in alternatives_smp_lock()
1300 text_poke(ptr, ((unsigned char []){0x3E}), 1); in alternatives_smp_unlock()
1911 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() function
2223 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch()
2248 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch()
2304 text_poke(text_poke_addr(&tp[i]), &byte, INT3_INSN_SIZE); in text_poke_bp_batch()
H A Dmodule.c237 write = text_poke; in write_relocate_add()
/openbmc/linux/tools/lib/perf/include/perf/
H A Devent.h493 struct perf_record_text_poke_event text_poke; member
/openbmc/linux/arch/um/kernel/
H A Dum_arch.c461 void *text_poke(void *addr, const void *opcode, size_t len) in text_poke() function
/openbmc/linux/tools/perf/Documentation/
H A Dperf-inject.txt104 and text_poke events are inserted, as well as build ID information.
/openbmc/linux/tools/include/uapi/linux/
H A Dperf_event.h454 text_poke : 1, /* include text poke events */ member
/openbmc/linux/include/uapi/linux/
H A Dperf_event.h454 text_poke : 1, /* include text poke events */ member
/openbmc/linux/tools/perf/
H A Dbuiltin-inject.c1238 gs->tool.text_poke = guest_session__repipe; in guest_session__start()
2060 inject->tool.text_poke = host__repipe; in __cmd_inject()
2184 .text_poke = perf_event__repipe, in cmd_inject()
H A Dbuiltin-record.c888 if (evsel->core.attr.text_poke) in record__config_text_poke()
896 evsel->core.attr.text_poke = 1; in record__config_text_poke()
3998 rec->opts.text_poke = true; in cmd_record()
4162 if (rec->opts.text_poke) { in cmd_record()
H A Dbuiltin-script.c2831 script->tool.text_poke = process_text_poke_events; in __cmd_script()
/openbmc/linux/tools/perf/arch/x86/util/
H A Dintel-pt.c844 opts->text_poke = true; in intel_pt_recording_options()
/openbmc/linux/kernel/events/
H A Dcore.c4998 attr->context_switch || attr->text_poke || in is_sb_event()
5067 if (event->attr.text_poke) in unaccount_event()
9382 return event->attr.text_poke; in perf_event_text_poke_match()
11875 if (event->attr.text_poke) in account_event()