Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/perf/
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()
/kernel/linux/linux-5.10/tools/perf/util/
Devsel.c1728 static struct perf_thread_map *empty_thread_map; in evsel__open_cpu() local
1730 if (empty_thread_map == NULL) { in evsel__open_cpu()
1731 empty_thread_map = thread_map__new_by_tid(-1); in evsel__open_cpu()
1732 if (empty_thread_map == NULL) in evsel__open_cpu()
1736 threads = empty_thread_map; in evsel__open_cpu()