diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 15:20:59 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 17:38:32 -0300 |
commit | c1a604dff486399ae0be95e6396e0158df95ad5d (patch) | |
tree | cfd993c491ac4e85719667a6108d22838bf0f265 /tools/perf/perf.c | |
parent | f37110205c3065546d6995b1463751c7bbb50e89 (diff) | |
download | lwn-c1a604dff486399ae0be95e6396e0158df95ad5d.tar.gz lwn-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/perf.c')
-rw-r--r-- | tools/perf/perf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c index a95a248a7421..237b9b3a1bf1 100644 --- a/tools/perf/perf.c +++ b/tools/perf/perf.c @@ -8,6 +8,7 @@ * perf top, perf record, perf report, etc.) are started. */ #include "builtin.h" +#include "perf.h" #include "util/env.h" #include <subcmd/exec-cmd.h> |