Searched refs:empty_thread_map (Results 1 – 2 of 2) sorted by relevance
127 static struct perf_thread_map *empty_thread_map; in perf_evsel__open() local129 if (empty_thread_map == NULL) { in perf_evsel__open()130 empty_thread_map = perf_thread_map__new_dummy(); in perf_evsel__open()131 if (empty_thread_map == NULL) in perf_evsel__open()135 threads = empty_thread_map; in perf_evsel__open()
1756 static struct perf_thread_map *empty_thread_map; variable1778 if (empty_thread_map == NULL) { in __evsel__prepare_open()1779 empty_thread_map = thread_map__new_by_tid(-1); in __evsel__prepare_open()1780 if (empty_thread_map == NULL) in __evsel__prepare_open()1784 threads = empty_thread_map; in __evsel__prepare_open()1983 threads = empty_thread_map; in evsel__open_cpu()