^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright IBM Corp. 2018
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Auxtrace support for s390 CPU-Measurement Sampling Facility
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Author(s): Thomas Richter <tmricht@linux.ibm.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #ifndef INCLUDE__PERF_S390_CPUMSF_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define INCLUDE__PERF_S390_CPUMSF_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) union perf_event;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct perf_session;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct perf_pmu;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct auxtrace_record *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) s390_cpumsf_recording_init(int *err, struct perf_pmu *s390_cpumsf_pmu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) int s390_cpumsf_process_auxtrace_info(union perf_event *event,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) struct perf_session *session);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif