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 Dtracepoint.py18 threads = perf.thread_map(-1)
H A Dtwatch.py13 threads = perf.thread_map(thread)
/linux/tools/perf/util/
H A Dtool.h74 thread_map, member
H A Dtool.c296 tool->thread_map = process_event_thread_map_stub; in perf_tool__init()
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()
1469 err = tool->thread_map(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.h229 struct thread_map;
H A Devent.c365 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.h542 struct perf_record_thread_map thread_map; member
/linux/tools/perf/
H A Dbuiltin-record.c1832 struct perf_thread_map *thread_map; in record__synthesize_workload() local
1838 thread_map = thread_map__new_by_tid(rec->evlist->workload.pid); in record__synthesize_workload()
1839 if (thread_map == NULL) in record__synthesize_workload()
1842 err = perf_event__synthesize_thread_map(&rec->tool, thread_map, in record__synthesize_workload()
1847 perf_thread_map__put(thread_map); in record__synthesize_workload()
H A Dbuiltin-stat.c2224 st->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event()
2303 perf_stat.tool.thread_map = process_thread_map_event; in __cmd_report()
H A Dbuiltin-script.c3610 script->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event()
4132 script.tool.thread_map = process_thread_map_event; in cmd_script()
H A Dbuiltin-inject.c2530 inject.tool.thread_map = perf_event__repipe_op2_synth; in cmd_inject()