summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sample-raw.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/sample-raw.h')
-rw-r--r--tools/perf/util/sample-raw.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/perf/util/sample-raw.h b/tools/perf/util/sample-raw.h
new file mode 100644
index 000000000..c8d38c841
--- /dev/null
+++ b/tools/perf/util/sample-raw.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __SAMPLE_RAW_H
+#define __SAMPLE_RAW_H 1
+
+#include <stdbool.h>
+
+struct evlist;
+struct perf_env;
+union perf_event;
+struct perf_sample;
+
+void evlist__s390_sample_raw(struct evlist *evlist, union perf_event *event,
+ struct perf_sample *sample);
+bool evlist__has_amd_ibs(struct evlist *evlist);
+void evlist__amd_sample_raw(struct evlist *evlist, union perf_event *event,
+ struct perf_sample *sample);
+void evlist__init_trace_event_sample_raw(struct evlist *evlist, struct perf_env *env);
+
+#endif /* __SAMPLE_RAW_H */