summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/off_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/off_cpu.h')
-rw-r--r--tools/perf/util/off_cpu.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/perf/util/off_cpu.h b/tools/perf/util/off_cpu.h
index f47af0232e55..548008f74d42 100644
--- a/tools/perf/util/off_cpu.h
+++ b/tools/perf/util/off_cpu.h
@@ -4,15 +4,18 @@
struct evlist;
struct target;
struct perf_session;
+struct record_opts;
#define OFFCPU_EVENT "offcpu-time"
#ifdef HAVE_BPF_SKEL
-int off_cpu_prepare(struct evlist *evlist, struct target *target);
+int off_cpu_prepare(struct evlist *evlist, struct target *target,
+ struct record_opts *opts);
int off_cpu_write(struct perf_session *session);
#else
static inline int off_cpu_prepare(struct evlist *evlist __maybe_unused,
- struct target *target __maybe_unused)
+ struct target *target __maybe_unused,
+ struct record_opts *opts __maybe_unused)
{
return -1;
}