Home
last modified time | relevance | path

Searched refs:idxd_pmu (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/dma/idxd/
H A Dperfmon.c85 static int perfmon_collect_events(struct idxd_pmu *idxd_pmu, in perfmon_collect_events() argument
123 static void perfmon_assign_hw_event(struct idxd_pmu *idxd_pmu, in perfmon_assign_hw_event() argument
134 static int perfmon_assign_event(struct idxd_pmu *idxd_pmu, in perfmon_assign_event() argument
411 struct idxd_pmu *idxd_pmu = idxd->idxd_pmu; in perfmon_pmu_event_add() local
470 static void idxd_pmu_init(struct idxd_pmu *idxd_pmu) in idxd_pmu_init() argument
479 idxd_pmu->pmu.name = idxd_pmu->name; in idxd_pmu_init()
507 struct idxd_pmu *idxd_pmu; in perf_event_cpu_online() local
522 struct idxd_pmu *idxd_pmu; in perf_event_cpu_offline() local
543 struct idxd_pmu *idxd_pmu; in perfmon_pmu_init() local
559 idxd_pmu = kzalloc(sizeof(*idxd_pmu), GFP_KERNEL); in perfmon_pmu_init()
[all …]
H A Dperfmon.h19 static inline struct idxd_pmu *event_to_pmu(struct perf_event *event) in event_to_pmu()
21 struct idxd_pmu *idxd_pmu; in event_to_pmu() local
25 idxd_pmu = container_of(pmu, struct idxd_pmu, pmu); in event_to_pmu()
27 return idxd_pmu; in event_to_pmu()
32 struct idxd_pmu *idxd_pmu; in event_to_idxd() local
36 idxd_pmu = container_of(pmu, struct idxd_pmu, pmu); in event_to_idxd()
38 return idxd_pmu->idxd; in event_to_idxd()
43 struct idxd_pmu *idxd_pmu; in pmu_to_idxd() local
45 idxd_pmu = container_of(pmu, struct idxd_pmu, pmu); in pmu_to_idxd()
47 return idxd_pmu->idxd; in pmu_to_idxd()
H A Didxd.h104 struct idxd_pmu { struct
356 struct idxd_pmu *idxd_pmu; member