aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/lib/perf/cpumap.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2023-12-12libperf cpumap: Rename perf_cpu_map__empty() to perf_cpu_map__has_any_cpu_or_is_empty()Ian Rogers1-1/+1
2023-12-12libperf cpumap: Rename perf_cpu_map__default_new() to perf_cpu_map__new_online_cpus() and prefer sysfsIan Rogers1-24/+35
2023-12-12libperf cpumap: Rename perf_cpu_map__dummy_new() to perf_cpu_map__new_any_cpu()Ian Rogers1-2/+2
2023-05-27libperf cpumap: Add "any CPU"/dummy test functionIan Rogers1-0/+5
2023-05-27perf cpumap: Add equal functionIan Rogers1-0/+21
2023-05-27perf cpumap: Add internal nr and cpu accessorsIan Rogers1-29/+45
2023-05-26perf cpumap: Add intersect functionIan Rogers1-0/+35
2023-04-17perf cpumap: Add reference count checkingIan Rogers1-39/+46
2023-04-17libperf: Add perf_cpu_map__refcnt() interanl accessor to use in the maps testArnaldo Carvalho de Melo1-3/+3
2023-04-12libperf: Add a perf_cpu_map__set_nr() available as an internal function for tools/perf to useArnaldo Carvalho de Melo1-0/+5
2023-04-12libperf: Make perf_cpu_map__alloc() available as an internal function for tools/perf to useIan Rogers1-1/+1
2022-08-19perf cpumap: Const map for max()Ian Rogers1-1/+1
2022-04-01perf cpumap: More cpu map reuse by merge.Ian Rogers1-10/+5
2022-04-01perf cpumap: Add is_subset functionIan Rogers1-0/+20
2022-01-12perf cpumap: Give CPUs their own typeIan Rogers1-44/+59
2022-01-12libperf: Allow NULL in perf_cpu_map__idx()Ian Rogers1-1/+6
2022-01-12perf cpumap: Move 'has' function to libperfIan Rogers1-1/+6
2021-10-08libperf cpumap: Use binary search in perf_cpu_map__idx() as array are sortedRiccardo Mancini1-4/+12
2021-08-31libperf cpumap: Take into advantage it is sorted to optimize perf_cpu_map__max()Riccardo Mancini1-8/+2
2021-08-11libperf: Add perf_cpu_map__default_new()Jin Yao1-0/+5
2020-05-05libperf: Add NULL pointer check for cpu_map iteration and NULL assignment for all_cpus.He Zhe1-1/+1
2020-01-06libperf: Move to tools/lib/perfJiri Olsa1-0/+345