Searched refs:empty_thread_map (Results 1 – 2 of 2) sorted by relevance
132 static struct perf_thread_map *empty_thread_map; in perf_evsel__open() local134 if (empty_thread_map == NULL) { in perf_evsel__open()135 empty_thread_map = perf_thread_map__new_dummy(); in perf_evsel__open()136 if (empty_thread_map == NULL) in perf_evsel__open()140 threads = empty_thread_map; in perf_evsel__open()
1811 static struct perf_thread_map *empty_thread_map; variable1833 if (empty_thread_map == NULL) { in __evsel__prepare_open()1834 empty_thread_map = thread_map__new_by_tid(-1); in __evsel__prepare_open()1835 if (empty_thread_map == NULL) in __evsel__prepare_open()1839 threads = empty_thread_map; in __evsel__prepare_open()2057 threads = empty_thread_map; in evsel__open_cpu()