summaryrefslogtreecommitdiff
path: root/tools/lib/perf/include/internal/evsel.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-07-18 20:05:08 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-07-24 13:41:35 -0700
commit6d765f5f7ec669f2a16b44afd23cd877efa640de (patch)
tree0bbd737066958e6d6824c32e34d89efbfd2b2b9b /tools/lib/perf/include/internal/evsel.h
parent175c852325a1f566426e2470e5d5d67efc7621dd (diff)
downloadlinux-next-6d765f5f7ec669f2a16b44afd23cd877efa640de.tar.gz
linux-next-6d765f5f7ec669f2a16b44afd23cd877efa640de.zip
libperf evsel: Rename own_cpus to pmu_cpus
own_cpus is generally the cpumask from the PMU. Rename to pmu_cpus to try to make this clearer. Variable rename with no other changes. Reviewed-by: Thomas Falcon <thomas.falcon@intel.com> Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: James Clark <james.clark@linaro.org> Link: https://lore.kernel.org/r/20250719030517.1990983-7-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/perf/include/internal/evsel.h')
-rw-r--r--tools/lib/perf/include/internal/evsel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/perf/include/internal/evsel.h b/tools/lib/perf/include/internal/evsel.h
index ea78defa77d0..b97dc8c92882 100644
--- a/tools/lib/perf/include/internal/evsel.h
+++ b/tools/lib/perf/include/internal/evsel.h
@@ -99,7 +99,7 @@ struct perf_evsel {
* cpu map for opening the event on, for example, the first CPU on a
* socket for an uncore event.
*/
- struct perf_cpu_map *own_cpus;
+ struct perf_cpu_map *pmu_cpus;
struct perf_thread_map *threads;
struct xyarray *fd;
struct xyarray *mmap;