Searched refs:thread_map (Results 1 – 17 of 17) sorted by relevance
| /linux/tools/perf/tests/ |
| H A D | thread-map.c | 8 #include "thread_map.h" 67 struct perf_record_thread_map *map = &event->thread_map; in process_event() 74 threads = thread_map__new_event(&event->thread_map); in process_event() 120 TEST_ASSERT_VAL("failed to allocate thread_map", in test__thread_map_remove() 129 TEST_ASSERT_VAL("thread_map count != 1", threads->nr == 1); in test__thread_map_remove() 137 TEST_ASSERT_VAL("thread_map count != 0", threads->nr == 0); in test__thread_map_remove() 149 DEFINE_SUITE("Thread map", thread_map);
|
| H A D | tests.h | 145 DECLARE_SUITE(thread_map);
|
| /linux/tools/perf/python/ |
| H A D | twatch.py | 13 threads = perf.thread_map(thread)
|
| H A D | tracepoint.py | 18 threads = perf.thread_map(-1)
|
| /linux/tools/perf/util/ |
| H A D | tool.h | 77 thread_map, member
|
| H A D | tool.c | 324 tool->thread_map = process_event_thread_map_stub; in perf_tool__init() 434 CREATE_DELEGATE_OP2(thread_map); 509 tool->tool.thread_map = delegate_thread_map; in delegate_tool__init()
|
| H A D | session.c | 620 event->thread_map.nr = bswap_64(event->thread_map.nr); in perf_event__cpu_map_swap() 622 for (i = 0; i < event->thread_map.nr; i++) in perf_event__cpu_map_swap() 623 event->thread_map.entries[i].pid = bswap_64(event->thread_map.entries[i].pid); in perf_event__cpu_map_swap() 1676 err = tool->thread_map(tool, session, event); in perf_session__process_user_event()
|
| H A D | evlist.h | 22 struct thread_map;
|
| H A D | evsel.h | 232 struct thread_map;
|
| H A D | synthetic-events.c | 914 /* is thread group leader in thread_map? */ in perf_event__synthesize_thread_map() 1220 size = sizeof(event->thread_map); in perf_event__synthesize_thread_map2() 1221 size += threads->nr * sizeof(event->thread_map.entries[0]); in perf_event__synthesize_thread_map2() 1229 event->thread_map.nr = threads->nr; in perf_event__synthesize_thread_map2() 1232 struct perf_record_thread_map_entry *entry = &event->thread_map.entries[i]; in perf_event__synthesize_thread_map2()
|
| H A D | event.c | 25 #include "thread_map.h" 367 struct perf_thread_map *threads = thread_map__new_event(&event->thread_map); in perf_event__fprintf_thread_map()
|
| H A D | Build | 84 perf-util-y += thread_map.o
|
| /linux/tools/lib/perf/include/perf/ |
| H A D | event.h | 622 struct perf_record_thread_map thread_map; member
|
| /linux/tools/perf/ |
| H A D | builtin-record.c | 33 #include "util/thread_map.h" 1870 struct perf_thread_map *thread_map; in record__synthesize_workload() 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() 1960 * generate tracking events because there's no thread_map in record__switch_output() 1963 * Create a fake thread_map and directly call in record__switch_output() 1868 struct perf_thread_map *thread_map; record__synthesize_workload() local
|
| H A D | builtin-stat.c | 58 #include "util/thread_map.h" 2290 st->threads = thread_map__new_event(&event->thread_map); in process_cpu_map_event() 2372 perf_stat.tool.thread_map = process_thread_map_event; in setup_system_wide() 2915 * Initialize thread_map with comm names, in cmd_stat()
|
| H A D | builtin-script.c | 27 #include "util/thread_map.h" 3922 script->threads = thread_map__new_event(&event->thread_map); in process_cpu_map_event() 4434 script.tool.thread_map = process_thread_map_event; in cmd_script()
|
| H A D | builtin-inject.c | 2673 inject.tool.thread_map = perf_event__repipe_op2_synth; in cmd_inject()
|