aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-27 11:31:39 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-02-06 10:00:38 -0300
commit4fed072609b8aae27eac7169033f762867a5ab4c (patch)
treeac3306d84addf8b26097c7d857fe18b1a148eff1 /tools/perf/util/thread.h
parentperf arm pmu: Add missing linux/string.h header (diff)
downloadlinux-dev-4fed072609b8aae27eac7169033f762867a5ab4c.tar.xz
linux-dev-4fed072609b8aae27eac7169033f762867a5ab4c.zip
perf srccode: Move struct definition from map.h to srccode.h
To reduce the header dependencies, since we already have a srccode.h header, then there is where the 'struct srccode_state' should be, and map.h, that is more widely used should have just a forward declaraion of 'struct srccode_state'. 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-64lrkjjaa7wlo1zi2gr5u3es@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread.h')
-rw-r--r--tools/perf/util/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h
index f3c939150f90..856cf1a9040a 100644
--- a/tools/perf/util/thread.h
+++ b/tools/perf/util/thread.h
@@ -7,8 +7,8 @@
#include <linux/list.h>
#include <unistd.h>
#include <sys/types.h>
+#include "srccode.h"
#include "symbol.h"
-#include "map.h"
#include <strlist.h>
#include <intlist.h>
#include "rwsem.h"