Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Drecord.h56 bool text_poke; member
H A Dtool.h65 text_poke;
66 text_poke; global() member
H A Dtool.c353 tool->text_poke = perf_event__process_text_poke;
458 CREATE_DELEGATE_OP(text_poke);
545 tool->tool.text_poke = delegate_text_poke;
H A Dperf_api_probe.c114 evsel->core.attr.text_poke = 1; in perf_probe_build_id()
H A Dsession.c464 event->text_poke.addr = bswap_64(event->text_poke.addr);
465 event->text_poke.old_len = bswap_16(event->text_poke.old_len);
466 event->text_poke.new_len = bswap_16(event->text_poke.new_len);
469 void *data = &event->text_poke.old_len;
471 size_t len = sizeof(event->text_poke.old_len) +
472 sizeof(event->text_poke.new_len) +
473 event->text_poke
[all...]
H A Dmachine.c857 struct map *map = maps__find(machine__kernel_maps(machine), event->text_poke.addr); in machine__process_text_poke()
864 if (!event->text_poke.new_len) in machine__process_text_poke()
873 u8 *new_bytes = event->text_poke.bytes + event->text_poke.old_len; in machine__addnew_module_map()
882 event->text_poke.addr, in machine__addnew_module_map()
884 event->text_poke.new_len); in machine__addnew_module_map()
885 if (ret != event->text_poke.new_len) in machine__addnew_module_map()
887 event->text_poke.addr); in machine__addnew_module_map()
890 event->text_poke.addr); in machine__addnew_module_map()
H A Dperf_event_attr_fprintf.c380 PRINT_ATTRf_bf(text_poke, p_unsigned);
H A Dintel-pt.c3670 u64 addr = event->text_poke.addr + event->text_poke.new_len - 1; in intel_pt_text_poke()
3672 int cnt = 4096 + event->text_poke.new_len; in intel_pt_text_poke()
3681 if (!event->text_poke.new_len) in intel_pt_text_poke()
3688 if (addr < event->text_poke.addr) in intel_pt_text_poke()
3703 if (addr + e->byte_cnt + e->length <= event->text_poke.addr) { in intel_pt_process_event()
H A Devent.c548 struct perf_record_text_poke_event *tp = &event->text_poke; in perf_event__fprintf_text_poke()
H A Devsel.c1723 if (!opts->text_poke) in evsel__config()
/linux/arch/x86/include/asm/
H A Dtext-patching.h34 extern void *text_poke(void *addr, const void *opcode, size_t len);
/linux/tools/perf/Documentation/
H A Dperf-inject.txt104 and text_poke events are inserted, as well as build ID information.
/linux/tools/include/uapi/linux/
H A Dperf_event.h462 text_poke : 1, /* include text poke events */ member
/linux/include/uapi/linux/
H A Dperf_event.h462 text_poke : 1, /* include text poke events */ member
/linux/tools/lib/perf/include/perf/
H A Devent.h615 struct perf_record_text_poke_event text_poke;
608 struct perf_record_text_poke_event text_poke; global() member
/linux/tools/perf/
H A Dbuiltin-inject.c1659 gs->tool.text_poke = guest_session__repipe; in guest_session__fetch()
2506 inject->tool.text_poke = host__repipe; in cmd_inject()
2841 inject.tool.text_poke = perf_event__repipe;
H A Dbuiltin-record.c886 if (evsel->core.attr.text_poke) in record__auxtrace_init()
894 evsel->core.attr.text_poke = 1; in record__config_text_poke()
4178 rec->opts.text_poke = true; in cmd_record()
4368 if (rec->opts.text_poke) { in cmd_record()
H A Dbuiltin-script.c3249 script->tool.text_poke = process_text_poke_events; in list_available_languages()
/linux/tools/perf/arch/x86/util/
H A Dintel-pt.c842 opts->text_poke = true; in intel_pt_recording_options()
/linux/kernel/events/
H A Dcore.c5343 attr->context_switch || attr->text_poke || in is_sb_event()
5644 if (event->attr.text_poke) in unaccount_event()
10491 return event->attr.text_poke; in perf_event_text_poke_match()
13339 if (event->attr.text_poke) in account_event()