diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 20:20:59 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 22:38:32 +0200 |
commit | c1a604dff486399ae0be95e6396e0158df95ad5d (patch) | |
tree | cfd993c491ac4e85719667a6108d22838bf0f265 /tools/perf/builtin-c2c.c | |
parent | perf time-utils: Adopt rdclock() from perf.h (diff) | |
download | linux-c1a604dff486399ae0be95e6396e0158df95ad5d.tar.xz linux-c1a604dff486399ae0be95e6396e0158df95ad5d.zip |
perf tools: Remove needless perf.h include directive from headers
Its not needed there, add it to the places that need it and were getting
it via those headers.
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-5yulx1u16vyd0zmrbg1tjhju@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-c2c.c')
-rw-r--r-- | tools/perf/builtin-c2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c index 8335a4076a5a..25a5f186dfde 100644 --- a/tools/perf/builtin-c2c.c +++ b/tools/perf/builtin-c2c.c @@ -35,6 +35,7 @@ #include "thread.h" #include "mem2node.h" #include "symbol.h" +#include "../perf.h" struct c2c_hists { struct hists hists; |