Skip to contentSkip to conversation

arm: remove traces of perf_ops_bp

PATCH New Mark Rutland 2 participants 3 messages Aug 11, 2016 – Aug 18, 2016

Subsystems (2)
lore
Share & tools
lore

Mark Rutland

author maintainer
#0 lore raw

PATCH 1/1 arm: remove traces of perf_ops_bp

Even though perf_ops_bp was removed/renamed back in commit b0a873ebbf87bf38 ("perf: Register PMU implementations"), as part of v2.6.37, its definition still lives on in some arch headers.

This patch removes the vestigal definition from arm.

Cc Russell King <[email protected]>
Cc Will Deacon <[email protected]>
---
 arch/arm/include/asm/hw_breakpoint.h | 1 -
 1 file changed, 1 deletion(-)
arch/arm/include/asm/hw_breakpoint.h +0 -1
index 8e427c7..afcaf8b 100644
@@ -114,7 +114,6 @@ struct notifier_block;
 struct perf_event;
 struct pmu;
 
-extern struct pmu perf_ops_bp;
 extern int arch_bp_generic_fields(struct arch_hw_breakpoint_ctrl ctrl,
 				  int *gen_len, int *gen_type);
 extern int arch_check_bp_in_kernelspace(struct perf_event *bp);
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 arm: remove traces of perf_ops_bp

Quoted 4 lines · Mark Rutland

Even though perf_ops_bp was removed/renamed back in commit b0a873ebbf87bf38 ("perf: Register PMU implementations"), as part of v2.6.37, its definition still lives on in some arch headers.

Quoted 8 lines

This patch removes the vestigal definition from arm.

Cc Russell King <[email protected]>
Cc Will Deacon <[email protected]>
---
 arch/arm/include/asm/hw_breakpoint.h | 1 -
 1 file changed, 1 deletion(-)

Please put this into the patch system -- I'll pick the other one up for arm64.

Will

author maintainer
#2 lore raw

PATCH 1/1 arm: remove traces of perf_ops_bp

Quoted 14 lines · Will Deacon
Quoted 4 lines · Mark Rutland

Even though perf_ops_bp was removed/renamed back in commit b0a873ebbf87bf38 ("perf: Register PMU implementations"), as part of v2.6.37, its definition still lives on in some arch headers.

Quoted 8 lines

This patch removes the vestigal definition from arm.

Cc Russell King <[email protected]>
Cc Will Deacon <[email protected]>
---
 arch/arm/include/asm/hw_breakpoint.h | 1 -
 1 file changed, 1 deletion(-)
Quoted 4 lines

Please put this into the patch system -- I'll pick the other one up for arm64.

Cheers.

I've dropped this in the patch system as 8598/1.

Mark.