Skip to content

Commit

Permalink
perf parser: Remove needless include directives
Browse files Browse the repository at this point in the history
They go on accumulating there like the debug.h one, that was introduced
here:

  f236102 ("perf list: Add debug support for outputing alias string")

But then, when that need is removed via:

  2073ad3 ("perf tools: Factor out PMU matching in parser")

The thing stays there, so continue the house cleaning spree...

list.h not needed, no macros from there are used, and 'struct
list_head' is in linux/types.h, ditto for util.h, no need for that as
well.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-zkxr3mf6inun8m5mbnil4u0d@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
Arnaldo Carvalho de Melo committed Sep 25, 2019
1 parent 815c156 commit d6840d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/perf/util/parse-events.y
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
#include <fnmatch.h>
#include <stdio.h>
#include <linux/compiler.h>
#include <linux/list.h>
#include <linux/types.h>
#include "util.h"
#include "pmu.h"
#include "evsel.h"
#include "debug.h"
#include "parse-events.h"
#include "parse-events-bison.h"

Expand Down

0 comments on commit d6840d8

Please sign in to comment.