]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Replace needless mmap.h with what is needed, event.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Sep 2019 19:07:59 +0000 (16:07 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Sep 2019 19:26:40 +0000 (16:26 -0300)
commit45bb19d07dc15a11acd512a21fc71c7a730df929
treeceb4a06e8db7144fd4c91e788a0aa855b6aae8ac
parent1c24c428d7e2b6591f5a3d350d43054a107fc383
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 <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-p1anwyjdbbvghrkl9dlxv7h5@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/parse-events.c