diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-24 19:07:59 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-25 19:26:40 +0000 |
| commit | 252a2fdc742bc34b94da203282773952d3b54279 (patch) | |
| tree | ceb4a06e8db7144fd4c91e788a0aa855b6aae8ac /tools/perf/util/annotate.c | |
| parent | perf evsel: Move config terms to a separate header (diff) | |
| download | kernel-252a2fdc742bc34b94da203282773952d3b54279.tar.gz kernel-252a2fdc742bc34b94da203282773952d3b54279.zip | |
perf tools: Replace needless mmap.h with what is needed, event.h
The perf_sample struct definition and the event_attr_init() are in
util/event.h, but some places were getting it thru an otherwise needless
util/mmap.h header, fix it by including util/event.h directly.
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
| -rw-r--r-- | tools/perf/util/annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 69d0a1991b29..e830eadfca2a 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c @@ -34,7 +34,7 @@ #include "bpf-event.h" #include "block-range.h" #include "string2.h" -#include "util/mmap.h" +#include "util/event.h" #include "arch/common.h" #include <regex.h> #include <pthread.h> |
