diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-21 17:09:54 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-22 20:16:57 +0000 |
| commit | 69714a4e3959eb051e685c6dce06c6d5a8f27c3c (patch) | |
| tree | 2a6e3ab4aa2db2c6c8744ac4810eb3dc012409b0 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf scripting python: Add missing counts.h header (diff) | |
| download | kernel-69714a4e3959eb051e685c6dce06c6d5a8f27c3c.tar.gz kernel-69714a4e3959eb051e685c6dce06c6d5a8f27c3c.zip | |
perf evsel: Add missing perf/evsel.h header in util/evsel.h
Since util/evsel.h uses perf_evsel__cpus() that has its prototype in
libperf's perf/evsel.h file, we need it explicitely included.
This was working by luck as util/evsel.h includes counts.h, but that is
not necessary, just some forward declarations, so, before we remove
counts.h from util/evsel.h, add what is realli needed.
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/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
