mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
perf tools: Move event synthesizing routines to separate header
Those are the only routines using the perf_event__handler_t typedef and are all related, so move to a separate header to reduce the header dependency tree, lots of places were getting event.h and even stdio.h, limits.h indirectly, so fix those as well. 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-yvx9u1mf7baq6cu1abfhbqgs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
bd23ac11fe
commit
ea49e01cfa
38 changed files with 154 additions and 177 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "stat.h"
|
||||
#include "counts.h"
|
||||
#include "debug.h"
|
||||
#include "util/synthetic-events.h"
|
||||
|
||||
static bool has_term(struct perf_record_stat_config *config,
|
||||
u64 tag, u64 val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue