xref: /openbmc/linux/tools/perf/util/s390-cpumsf.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*b96e6615SThomas Richter /* SPDX-License-Identifier: GPL-2.0 */
2*b96e6615SThomas Richter /*
3*b96e6615SThomas Richter  * Copyright IBM Corp. 2018
4*b96e6615SThomas Richter  * Auxtrace support for s390 CPU-Measurement Sampling Facility
5*b96e6615SThomas Richter  *
6*b96e6615SThomas Richter  * Author(s):  Thomas Richter <tmricht@linux.ibm.com>
7*b96e6615SThomas Richter  */
8*b96e6615SThomas Richter 
9*b96e6615SThomas Richter #ifndef INCLUDE__PERF_S390_CPUMSF_H
10*b96e6615SThomas Richter #define INCLUDE__PERF_S390_CPUMSF_H
11*b96e6615SThomas Richter 
12*b96e6615SThomas Richter union perf_event;
13*b96e6615SThomas Richter struct perf_session;
14*b96e6615SThomas Richter struct perf_pmu;
15*b96e6615SThomas Richter 
16*b96e6615SThomas Richter struct auxtrace_record *
17*b96e6615SThomas Richter s390_cpumsf_recording_init(int *err, struct perf_pmu *s390_cpumsf_pmu);
18*b96e6615SThomas Richter 
19*b96e6615SThomas Richter int s390_cpumsf_process_auxtrace_info(union perf_event *event,
20*b96e6615SThomas Richter 				      struct perf_session *session);
21*b96e6615SThomas Richter #endif
22