projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf76553
)
perf/x86: Remove redundant is_x86_event() prototype
author
Dapeng Mi
<dapeng1.mi@linux.intel.com>
Wed, 29 Oct 2025 10:21:25 +0000
(18:21 +0800)
committer
Peter Zijlstra
<peterz@infradead.org>
Fri, 7 Nov 2025 14:08:19 +0000
(15:08 +0100)
2 is_x86_event() prototypes are defined in perf_event.h. Remove the
redundant one.
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://patch.msgid.link/20251029102136.61364-2-dapeng1.mi@linux.intel.com
arch/x86/events/perf_event.h
patch
|
blob
|
history
diff --git
a/arch/x86/events/perf_event.h
b/arch/x86/events/perf_event.h
index
2b96938
..
285779c
100644
(file)
--- a/
arch/x86/events/perf_event.h
+++ b/
arch/x86/events/perf_event.h
@@
-1124,7
+1124,6
@@
static struct perf_pmu_format_hybrid_attr format_attr_hybrid_##_name = {\
.pmu_type = _pmu, \
}
-int is_x86_event(struct perf_event *event);
struct pmu *x86_get_pmu(unsigned int cpu);
extern struct x86_pmu x86_pmu __read_mostly;