summaryrefslogtreecommitdiff
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-04-14 16:44:09 +0300
committerMarc Zyngier <maz@kernel.org>2021-04-22 15:32:39 +0300
commit7f318847a0f37b96d8927e8d30ae7b8f149b11f1 (patch)
treeadd0108600d28451681a11c63bfeb7fe6be21f46 /include/linux/perf_event.h
parentac21ecf5ad32b89909bee2b50161ce93d6462b7d (diff)
downloadlinux-7f318847a0f37b96d8927e8d30ae7b8f149b11f1.tar.xz
perf: Get rid of oprofile leftovers
perf_pmu_name() and perf_num_counters() are unused. Drop them. Signed-off-by: Marc Zyngier <maz@kernel.org> Acked-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20210414134409.1266357-6-maz@kernel.org
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 3f7f89ea5e51..51154ed9a206 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -951,8 +951,6 @@ extern void perf_event_itrace_started(struct perf_event *event);
extern int perf_pmu_register(struct pmu *pmu, const char *name, int type);
extern void perf_pmu_unregister(struct pmu *pmu);
-extern int perf_num_counters(void);
-extern const char *perf_pmu_name(void);
extern void __perf_event_task_sched_in(struct task_struct *prev,
struct task_struct *task);
extern void __perf_event_task_sched_out(struct task_struct *prev,