diff options
author | 2015-08-13 12:40:56 +0300 | |
---|---|---|
committer | 2015-08-17 11:08:37 -0300 | |
commit | 835095653ebfe4b16596a30db1c4e7c414014b5e (patch) | |
tree | 4afc6f2ac74109a8952745cb1c0748c3bad9de6f /tools/perf/util/evlist.h | |
parent | perf symbols: Fix annotation of vdso (diff) | |
download | linux-835095653ebfe4b16596a30db1c4e7c414014b5e.tar.gz linux-835095653ebfe4b16596a30db1c4e7c414014b5e.tar.bz2 linux-835095653ebfe4b16596a30db1c4e7c414014b5e.zip |
perf tools: Add a helper function to probe whether cpu-wide tracing is possible
Add a helper function to probe whether cpu-wide tracing is possible.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1439458857-30636-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evlist.h')
-rw-r--r-- | tools/perf/util/evlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evlist.h b/tools/perf/util/evlist.h index 397757063da1..436e358300b1 100644 --- a/tools/perf/util/evlist.h +++ b/tools/perf/util/evlist.h @@ -115,6 +115,7 @@ void perf_evlist__close(struct perf_evlist *evlist); void perf_evlist__set_id_pos(struct perf_evlist *evlist); bool perf_can_sample_identifier(void); bool perf_can_record_switch_events(void); +bool perf_can_record_cpu_wide(void); void perf_evlist__config(struct perf_evlist *evlist, struct record_opts *opts); int record_opts__config(struct record_opts *opts); |