Home
last modified time | relevance | path

Searched refs:empty_thread_map (Results 1 – 2 of 2) sorted by relevance

/tools/perf/lib/
Devsel.c84 static struct perf_thread_map *empty_thread_map; in perf_evsel__open() local
86 if (empty_thread_map == NULL) { in perf_evsel__open()
87 empty_thread_map = perf_thread_map__new_dummy(); in perf_evsel__open()
88 if (empty_thread_map == NULL) in perf_evsel__open()
92 threads = empty_thread_map; in perf_evsel__open()
/tools/perf/util/
Devsel.c1600 static struct perf_thread_map *empty_thread_map; in evsel__open() local
1602 if (empty_thread_map == NULL) { in evsel__open()
1603 empty_thread_map = thread_map__new_by_tid(-1); in evsel__open()
1604 if (empty_thread_map == NULL) in evsel__open()
1608 threads = empty_thread_map; in evsel__open()