mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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]>
This commit is contained in:
parent
95be9d197d
commit
252a2fdc74
2 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
#include "util/parse-branch-options.h"
|
||||
#include "metricgroup.h"
|
||||
#include "util/evsel_config.h"
|
||||
#include "util/mmap.h"
|
||||
#include "util/event.h"
|
||||
|
||||
#define MAX_NAME_LEN 100
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue