aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-version.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-30 15:09:54 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 22:27:48 -0300
commitd3300a3c4e76ccecf4daa889327e340a870c550b (patch)
tree3daa0185836cd4f43261fdc3617cf611e822ba05 /tools/perf/builtin-version.c
parentperf auxtrace: Uninline functions that touch perf_session (diff)
downloadlinux-dev-d3300a3c4e76ccecf4daa889327e340a870c550b.tar.xz
linux-dev-d3300a3c4e76ccecf4daa889327e340a870c550b.zip
perf symbols: Move mem_info and branch_info out of symbol.h
The mem_info struct goes to mem-events.h and branch_info goes to branch.h, where they belong, this way we can remove several headers from symbols.h and trim the include dependency tree more. 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-aupw71xnravcsu2xoabfmhpc@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-version.c')
-rw-r--r--tools/perf/builtin-version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-version.c b/tools/perf/builtin-version.c
index bf114ca9ca87..05cf2af9e2c2 100644
--- a/tools/perf/builtin-version.c
+++ b/tools/perf/builtin-version.c
@@ -2,8 +2,8 @@
#include "builtin.h"
#include "perf.h"
#include "color.h"
-#include <linux/compiler.h>
#include <tools/config.h>
+#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <subcmd/parse-options.h>