diff options
author | 2024-12-05 20:40:29 -0800 | |
---|---|---|
committer | 2024-12-09 17:52:41 -0300 | |
commit | 02b5ed8a6a7eb3c9eefe8f26c988e3fea6a69026 (patch) | |
tree | 43272cc16f61d5f8bf4c33d005a315f9dc7083a7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf: Increase MAX_NR_CPUS to 4096 (diff) | |
download | wireguard-linux-02b5ed8a6a7eb3c9eefe8f26c988e3fea6a69026.tar.xz wireguard-linux-02b5ed8a6a7eb3c9eefe8f26c988e3fea6a69026.zip |
perf cpumap: Reduce transitive dependencies on libperf MAX_NR_CPUS
libperf exposes MAX_NR_CPUS via tools/lib/perf/include/internal/cpumap.h
which is internal.
The preferred dependency should be the definition in tools/perf/perf.h.
Add the includes of perf.h so that MAX_NR_CPUS can be hidden in libperf.
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ben Gainey <ben.gainey@arm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Kyle Meyer <kyle.meyer@hpe.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20241206044035.1062032-3-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions