diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-24 18:41:51 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-25 19:26:34 +0000 |
| commit | ca1252779f48ece225c6003e01c675abb91cf1b4 (patch) | |
| tree | bd7c98fec7da2fbab970ef5dff7c053a09e2810a /tools/perf/builtin-sched.c | |
| parent | perf evsel: Remove need for symbol_conf in evsel_fprintf.c (diff) | |
| download | kernel-ca1252779f48ece225c6003e01c675abb91cf1b4.tar.gz kernel-ca1252779f48ece225c6003e01c675abb91cf1b4.zip | |
perf evsel: Introduce evsel_fprintf.h
We already had evsel_fprintf.c, add its counterpart, so that we can
reduce evsel.h a bit more.
We needed a new perf_event_attr_fprintf.c file so as to have a separate
object to link with the python binding in tools/perf/util/python-ext-sources
and not drag symbol_conf, etc into the python binding.
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/builtin-sched.c')
| -rw-r--r-- | tools/perf/builtin-sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index f9706306fea0..5cacc4f84c8d 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -6,6 +6,7 @@ #include "util/cpumap.h" #include "util/evlist.h" #include "util/evsel.h" +#include "util/evsel_fprintf.h" #include "util/symbol.h" #include "util/thread.h" #include "util/header.h" |
