Home
last modified time | relevance | path

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

/Linux-v5.15/tools/perf/tests/
Dthread-map.c67 struct perf_record_thread_map *map = &event->thread_map; in process_event()
74 threads = thread_map__new_event(&event->thread_map); in process_event()
/Linux-v5.15/tools/perf/python/
Dtwatch.py13 threads = perf.thread_map(thread)
Dtracepoint.py20 threads = perf.thread_map(-1)
/Linux-v5.15/tools/perf/util/
Dtool.h72 thread_map, member
Dpython-ext-sources24 util/thread_map.c
Dsession.c540 if (tool->thread_map == NULL) in perf_tool__fill_defaults()
541 tool->thread_map = process_event_thread_map_stub; in perf_tool__fill_defaults()
898 event->thread_map.nr = bswap_64(event->thread_map.nr); in perf_event__thread_map_swap()
900 for (i = 0; i < event->thread_map.nr; i++) in perf_event__thread_map_swap()
901 event->thread_map.entries[i].pid = bswap_64(event->thread_map.entries[i].pid); in perf_event__thread_map_swap()
1649 return tool->thread_map(session, event); in perf_session__process_user_event()
Devlist.h19 struct thread_map;
Devsel.h180 struct thread_map;
Dsynthetic-events.c1152 size = sizeof(event->thread_map); in perf_event__synthesize_thread_map2()
1153 size += threads->nr * sizeof(event->thread_map.entries[0]); in perf_event__synthesize_thread_map2()
1161 event->thread_map.nr = threads->nr; in perf_event__synthesize_thread_map2()
1164 struct perf_record_thread_map_entry *entry = &event->thread_map.entries[i]; in perf_event__synthesize_thread_map2()
DBuild68 perf-y += thread_map.o
Devent.c325 struct perf_thread_map *threads = thread_map__new_event(&event->thread_map); in perf_event__fprintf_thread_map()
/Linux-v5.15/tools/lib/perf/include/perf/
Devent.h418 struct perf_record_thread_map thread_map; member
/Linux-v5.15/tools/perf/
Dbuiltin-record.c1257 struct perf_thread_map *thread_map; in record__synthesize_workload() local
1262 thread_map = thread_map__new_by_tid(rec->evlist->workload.pid); in record__synthesize_workload()
1263 if (thread_map == NULL) in record__synthesize_workload()
1266 err = perf_event__synthesize_thread_map(&rec->tool, thread_map, in record__synthesize_workload()
1270 perf_thread_map__put(thread_map); in record__synthesize_workload()
Dbuiltin-stat.c2093 st->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event()
2130 .thread_map = process_thread_map_event,
Dbuiltin-inject.c900 .thread_map = perf_event__repipe_op2_synth, in cmd_inject()
Dbuiltin-script.c3530 script->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event()
3666 .thread_map = process_thread_map_event, in cmd_script()