Lines Matching +full:spe +full:- +full:pmu
1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/coresight-pmu.h>
16 #include "../../../util/pmu.h"
18 #include "cs-etm.h"
19 #include "arm-spe.h"
20 #include "hisi-ptt.h"
32 *err = -ENOMEM; in find_all_arm_spe_pmus()
40 *err = -ENOMEM; in find_all_arm_spe_pmus()
48 arm_spe_pmus[*nr_spes]->type, in find_all_arm_spe_pmus()
49 arm_spe_pmus[*nr_spes]->name); in find_all_arm_spe_pmus()
69 *err = -EINVAL; in find_all_hisi_ptt_pmus()
74 if (strstr(dent->d_name, HISI_PTT_PMU_NAME)) in find_all_hisi_ptt_pmus()
84 *err = -ENOMEM; in find_all_hisi_ptt_pmus()
90 if (strstr(dent->d_name, HISI_PTT_PMU_NAME) && idx < *nr_ptts) { in find_all_hisi_ptt_pmus()
91 hisi_ptt_pmus[idx] = perf_pmus__find(dent->d_name); in find_all_hisi_ptt_pmus()
111 if (evsel->core.attr.type == pmus[i]->type) in find_pmu_for_event()
164 *err = -EOPNOTSUPP; in auxtrace_record__init()
180 * Clear 'err' even if we haven't found an event - that way perf in auxtrace_record__init()
192 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__read_head()
198 : "r" (&pc->aux_head), "Qo" (pc->aux_head) in compat_auxtrace_mmap__read_head()
206 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__write_tail()
213 : "=Qo" (pc->aux_tail) in compat_auxtrace_mmap__write_tail()
214 : "r" (&pc->aux_tail), "r" (tail) in compat_auxtrace_mmap__write_tail()