diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-22 14:24:34 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-25 15:12:09 +0100 |
commit | 40f3b2d20b52b090976a60fe56fb838a45eb362f (patch) | |
tree | b1a9e501bc562c8f86dc36829b459510996092f8 /tools/perf/util/probe-event.h | |
parent | perf symbols: Remove some unnecessary includes from symbol.h (diff) | |
download | linux-40f3b2d20b52b090976a60fe56fb838a45eb362f.tar.xz linux-40f3b2d20b52b090976a60fe56fb838a45eb362f.zip |
perf namespaces: Remove namespaces.h from .h headers
There we need just forward declarations, so remove it and add it just on
the .c files that actually touch the struct definitions.
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-wsjxzt99p83jubt6hu0med0f@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-event.h')
-rw-r--r-- | tools/perf/util/probe-event.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/util/probe-event.h b/tools/perf/util/probe-event.h index 15a98c3a2a2f..05c8d571a901 100644 --- a/tools/perf/util/probe-event.h +++ b/tools/perf/util/probe-event.h @@ -4,8 +4,9 @@ #include <linux/compiler.h> #include <stdbool.h> -#include "intlist.h" -#include "namespaces.h" + +struct intlist; +struct nsinfo; /* Probe related configurations */ struct probe_conf { |