perf parse-events: Remove unnecessary #includes
Ian Rogers
reviewerPATCH 1/1 perf parse-events: Remove unnecessary #includes
Minor cleanup motivated by trying to separately fuzz test parse-events.
Signed-off-by Ian Rogers <[email protected]>
--- tools/perf/util/parse-events.c | 2 -- tools/perf/util/parse-events.l | 1 - 2 files changed, 3 deletions(-)
tools/perf/util/parse-events.c +0 -2
@@ -19,8 +19,6 @@#include <subcmd/exec-cmd.h> #include "string2.h" #include "strlist.h" -#include "symbol.h" -#include "header.h" #include "bpf-loader.h" #include "debug.h" #include <api/fs/tracing_path.h>
tools/perf/util/parse-events.l +0 -1
@@ -12,7 +12,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> -#include "../perf.h" #include "parse-events.h" #include "parse-events-bison.h" #include "evsel.h"
Signature · 1 line
2.30.0.280.ga3ce27912f-goog
Hi Ian,
Quoted 4 lines · Ian Rogers
Minor cleanup motivated by trying to separately fuzz test parse-events.
Signed-off-by Ian Rogers <[email protected]>
Acked-by Namhyung Kim <[email protected]>
Thanks,
Namhyung
Quoted 33 lines
--- tools/perf/util/parse-events.c | 2 -- tools/perf/util/parse-events.l | 1 - 2 files changed, 3 deletions(-)tools/perf/util/parse-events.c +0
-2@@ -19,8 +19,6 @@#include <subcmd/exec-cmd.h> #include "string2.h" #include "strlist.h" -#include "symbol.h" -#include "header.h" #include "bpf-loader.h" #include "debug.h" #include <api/fs/tracing_path.h> tools/perf/util/parse-events.l +0
-2@@ -12,7 +12,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> -#include "../perf.h" #include "parse-events.h" #include "parse-events-bison.h" #include "evsel.h" --2.30.0.280.ga3ce27912f-goog