]> git.ipfire.org Git - thirdparty/linux.git/commit
perf script: Sort includes and add missed explicit dependencies
authorIan Rogers <irogers@google.com>
Fri, 22 May 2026 22:04:15 +0000 (15:04 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 May 2026 11:20:43 +0000 (08:20 -0300)
commit60d69f2c4e283bddcbb9b37778222b78ec4067f6
tree2224f0f1014dbf25ce45133af9db8646f491621b
parent7b1aa97e976953141486a943ed47acdc19209d1e
perf script: Sort includes and add missed explicit dependencies

Fix missing #include of pmu.h found while cleaning the evsel/evlist
header files. Sort the remaining header files for consistency with the
rest of the code. Doing this exposed a missing forward declaration of
addr_location in print_insn.h, add this and sort the forward
declarations.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alice Rogers <alice.mei.rogers@gmail.com>
Cc: Dapeng Mi <dapeng1.mi@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Leo Yan <leo.yan@linux.dev>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/util/print_insn.h