Home
last modified time | relevance | path

Searched refs:thread_map (Results 1 – 17 of 17) sorted by relevance

/linux/tools/perf/tests/
H A Dthread-map.c68 struct perf_record_thread_map *map = &event->thread_map; in process_event()
75 threads = thread_map__new_event(&event->thread_map); in process_event()
150 DEFINE_SUITE("Thread map", thread_map);
H A Dtests.h145 DECLARE_SUITE(thread_map);
/linux/tools/perf/python/
H A Dtwatch.py13 threads = perf.thread_map(thread)
H A Dtracepoint.py18 threads = perf.thread_map(-1)
/linux/tools/perf/util/
H A Dtool.c306 tool->thread_map = process_event_thread_map_stub; in perf_tool__init()
414 CREATE_DELEGATE_OP2(thread_map);
489 tool->tool.thread_map = delegate_thread_map; in delegate_tool__init()
H A Dtool.h77 thread_map, member
H A Dsession.c612 event->thread_map.nr = bswap_64(event->thread_map.nr); in perf_event__thread_map_swap()
614 for (i = 0; i < event->thread_map.nr; i++) in perf_event__thread_map_swap()
615 event->thread_map.entries[i].pid = bswap_64(event->thread_map.entries[i].pid); in perf_event__thread_map_swap()
1606 err = tool->thread_map(tool, session, event); in perf_session__process_user_event()
H A Devlist.h21 struct thread_map;
H A Dsynthetic-events.c1215 size = sizeof(event->thread_map); in perf_event__synthesize_thread_map2()
1216 size += threads->nr * sizeof(event->thread_map.entries[0]); in perf_event__synthesize_thread_map2()
1224 event->thread_map.nr = threads->nr; in perf_event__synthesize_thread_map2()
1227 struct perf_record_thread_map_entry *entry = &event->thread_map.entries[i]; in perf_event__synthesize_thread_map2()
H A Devsel.h230 struct thread_map;
H A Devent.c366 struct perf_thread_map *threads = thread_map__new_event(&event->thread_map); in perf_event__fprintf_thread_map()
H A DBuild83 perf-util-y += thread_map.o
/linux/tools/lib/perf/include/perf/
H A Devent.h555 struct perf_record_thread_map thread_map; member
/linux/tools/perf/
H A Dbuiltin-record.c1870 struct perf_thread_map *thread_map; in record__synthesize_workload() local
1876 thread_map = thread_map__new_by_tid(rec->evlist->workload.pid); in record__synthesize_workload()
1877 if (thread_map == NULL) in record__synthesize_workload()
1880 err = perf_event__synthesize_thread_map(&rec->tool, thread_map, in record__synthesize_workload()
1885 perf_thread_map__put(thread_map); in record__synthesize_workload()
H A Dbuiltin-stat.c2288 st->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event()
2367 perf_stat.tool.thread_map = process_thread_map_event; in __cmd_report()
H A Dbuiltin-script.c3896 script->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event()
4419 script.tool.thread_map = process_thread_map_event; in cmd_script()
H A Dbuiltin-inject.c2519 inject.tool.thread_map = perf_event__repipe_op2_synth; in cmd_inject()