Linux Perf
arm-spe.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Arm Statistical Profiling Extensions (SPE) support
4  * Copyright (c) 2017-2018, Arm Ltd.
5  */
6 
7 #ifndef INCLUDE__PERF_ARM_SPE_H__
8 #define INCLUDE__PERF_ARM_SPE_H__
9 
10 #define ARM_SPE_PMU_NAME "arm_spe_"
11 
12 enum {
16 };
17 
18 #define ARM_SPE_AUXTRACE_PRIV_SIZE (ARM_SPE_AUXTRACE_PRIV_MAX * sizeof(u64))
19 
20 union perf_event;
21 struct perf_session;
22 struct perf_pmu;
23 
25  struct perf_pmu *arm_spe_pmu);
26 
28  struct perf_session *session);
29 
30 struct perf_event_attr *arm_spe_pmu_default_config(struct perf_pmu *arm_spe_pmu);
31 #endif
int int err
Definition: 5sec.c:44
Definition: pmu.h:22
int arm_spe_process_auxtrace_info(union perf_event *event, struct perf_session *session)
Definition: arm-spe.c:192
static struct perf_session * session
Definition: builtin-lock.c:34
struct perf_event_attr * arm_spe_pmu_default_config(struct perf_pmu *arm_spe_pmu)
Definition: arm-spe.c:201
#define event
struct auxtrace_record * arm_spe_recording_init(int *err, struct perf_pmu *arm_spe_pmu)
Definition: arm-spe.c:172