Home
last modified time | relevance | path

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

/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()
/tools/perf/python/
Dtwatch.py13 threads = perf.thread_map(thread)
Dtracepoint.py20 threads = perf.thread_map(-1)
/tools/perf/util/
Dtool.h72 thread_map, member
Dpython-ext-sources23 util/thread_map.c
Dsession.c523 if (tool->thread_map == NULL) in perf_tool__fill_defaults()
524 tool->thread_map = process_event_thread_map_stub; in perf_tool__fill_defaults()
878 event->thread_map.nr = bswap_64(event->thread_map.nr); in perf_event__thread_map_swap()
880 for (i = 0; i < event->thread_map.nr; i++) in perf_event__thread_map_swap()
881 event->thread_map.entries[i].pid = bswap_64(event->thread_map.entries[i].pid); in perf_event__thread_map_swap()
1618 return tool->thread_map(session, event); in perf_session__process_user_event()
Devsel.h153 struct thread_map;
Devlist.h19 struct thread_map;
Dsynthetic-events.c1068 size = sizeof(event->thread_map); in perf_event__synthesize_thread_map2()
1069 size += threads->nr * sizeof(event->thread_map.entries[0]); in perf_event__synthesize_thread_map2()
1077 event->thread_map.nr = threads->nr; in perf_event__synthesize_thread_map2()
1080 struct perf_record_thread_map_entry *entry = &event->thread_map.entries[i]; in perf_event__synthesize_thread_map2()
Devent.c306 struct perf_thread_map *threads = thread_map__new_event(&event->thread_map); in perf_event__fprintf_thread_map()
DBuild65 perf-y += thread_map.o
/tools/lib/perf/include/perf/
Devent.h408 struct perf_record_thread_map thread_map; member
/tools/perf/
Dbuiltin-record.c1244 struct perf_thread_map *thread_map; in record__synthesize_workload() local
1249 thread_map = thread_map__new_by_tid(rec->evlist->workload.pid); in record__synthesize_workload()
1250 if (thread_map == NULL) in record__synthesize_workload()
1253 err = perf_event__synthesize_thread_map(&rec->tool, thread_map, in record__synthesize_workload()
1257 perf_thread_map__put(thread_map); in record__synthesize_workload()
Dbuiltin-stat.c1926 st->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event()
1963 .thread_map = process_thread_map_event,
Dbuiltin-inject.c833 .thread_map = perf_event__repipe_op2_synth, in cmd_inject()
Dbuiltin-script.c3334 script->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event()
3469 .thread_map = process_thread_map_event, in cmd_script()