diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 20:40:29 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-26 16:58:22 +0200 |
commit | aeb00b1aeab6dadd72c24f93bea51a46e109c2ba (patch) | |
tree | 892b5327ab415f62b61dcd39d6400eb66ef47e6d /tools/perf/util/stat.h | |
parent | perf stat: Remove needless headers from stat.h (diff) | |
download | linux-aeb00b1aeab6dadd72c24f93bea51a46e109c2ba.tar.xz linux-aeb00b1aeab6dadd72c24f93bea51a46e109c2ba.zip |
perf record: Move record_opts and other record decls out of perf.h
And into a separate util/record.h, to better isolate things and make
sure that those who use record_opts and the other moved declarations
are explicitly including the necessary header.
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-31q8mei1qkh74qvkl9nwidfq@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/stat.h')
-rw-r--r-- | tools/perf/util/stat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h index 9e425ecd82d9..14fe3e548229 100644 --- a/tools/perf/util/stat.h +++ b/tools/perf/util/stat.h @@ -198,6 +198,8 @@ int perf_stat_process_counter(struct perf_stat_config *config, struct perf_tool; union perf_event; struct perf_session; +struct target; + int perf_event__process_stat_event(struct perf_session *session, union perf_event *event); |