Commit 4cb3c6d5 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

perf event: Remove needless include directives from event.h

bpf.h and build-id.h are not needed at all in event.h, remove them.

And fixup the fallout of files that were getting needed stuff from this
now pruned include.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-rdm3dgtlrndmmnlc4bafsg3b@git.kernel.org


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent b6b5574b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
#include <elfutils/libdwfl.h>
#include <linux/kernel.h>
#include "../../util/unwind-libdw.h"
#include "../../util/perf_regs.h"
#include "../../util/event.h"
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
#include <errno.h>
#include <string.h>
#include <regex.h>
#include <linux/kernel.h>
#include <linux/zalloc.h>

#include "../../perf-sys.h"
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
#include "builtin.h"
#include "perf.h"

#include "util/build-id.h"
#include "util/cache.h"
#include "util/env.h"
#include <subcmd/exec-cmd.h>
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ struct machine;
union perf_event;
struct perf_env;
struct perf_sample;
struct perf_session;
struct record_opts;
struct evlist;
struct target;
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
#include "map_symbol.h"
#include "branch.h"

struct evsel;
struct map;

#define HELP_PAD "\t\t\t\t"
Loading