summaryrefslogtreecommitdiff
path: root/tools/perf/util/dso.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-22 16:24:34 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-01-25 17:12:09 +0300
commit40f3b2d20b52b090976a60fe56fb838a45eb362f (patch)
treeb1a9e501bc562c8f86dc36829b459510996092f8 /tools/perf/util/dso.h
parent68c0188ea77891266c048d0768250eba51441cb2 (diff)
downloadlinux-40f3b2d20b52b090976a60fe56fb838a45eb362f.tar.xz
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/dso.h')
-rw-r--r--tools/perf/util/dso.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/dso.h b/tools/perf/util/dso.h
index 56001b82d448..2de54c0b26b2 100644
--- a/tools/perf/util/dso.h
+++ b/tools/perf/util/dso.h
@@ -10,9 +10,9 @@
#include <stdio.h>
#include "rwsem.h"
#include <linux/bitops.h>
-#include "namespaces.h"
#include "build-id.h"
+struct machine;
struct map;
enum dso_binary_type {