diff options
| author | Ian Rogers <irogers@google.com> | 2026-09-02 08:48:55 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-09-08 17:50:30 -0300 |
| commit | bc8af6295ad205edad12837bf34860fa1720f96c (patch) | |
| tree | fa04f4e0ae0e9338a14d2d3f3b19abb84deaf74e | |
| parent | 583ba92ef0ecd95c9b27e2574fa44f3e6fcb9848 (diff) | |
| download | linux-next-bc8af6295ad205edad12837bf34860fa1720f96c.tar.gz linux-next-bc8af6295ad205edad12837bf34860fa1720f96c.zip | |
perf tool: Remove unused includes in perf.c
Remove perf-sys.h, internal/lib.h (page_size), signal.h, and perf.h
since their exports are not used directly in perf.c.
Signed-off-by: Ian Rogers <irogers@google.com>
Assisted-by: Antigravity:gemini-3.1-pro
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
| -rw-r--r-- | tools/perf/perf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c index 53c50cfd92d6..7e2e667b011f 100644 --- a/tools/perf/perf.c +++ b/tools/perf/perf.c @@ -6,10 +6,8 @@ * This is the main hub from which the sub-commands (perf stat, * perf top, perf record, perf report, etc.) are started. */ -#include "perf.h" #include <errno.h> -#include <signal.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> @@ -21,7 +19,6 @@ #include <sys/stat.h> #include <api/fs/tracing_path.h> -#include <internal/lib.h> // page_size #include <perf/core.h> #include <subcmd/exec-cmd.h> #include <subcmd/help.h> @@ -30,7 +27,6 @@ #include <subcmd/run-command.h> #include "builtin.h" -#include "perf-sys.h" #include "ui/ui.h" #include "util/build-id.h" #include "util/config.h" |
