Skip to content

Commit b365067

Browse files
Andrew Murraywildea01
authored andcommitted
arm64: perf: remove misleading comment
The comment for the armv8pmu_set_event_filter function suggests that it only works for PMUv2 PMUs - this is incorrect. Let's remove the incorrect comment. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Andrew Murray <andrew.murray@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
1 parent c061ce2 commit b365067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/perf_event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ static void armv8pmu_clear_event_idx(struct pmu_hw_events *cpuc,
810810
}
811811

812812
/*
813-
* Add an event filter to a given event. This will only work for PMUv2 PMUs.
813+
* Add an event filter to a given event.
814814
*/
815815
static int armv8pmu_set_event_filter(struct hw_perf_event *event,
816816
struct perf_event_attr *attr)

0 commit comments

Comments
 (0)