arm64: perf: remove misleading comment
authorAndrew Murray <andrew.murray@arm.com>
Fri, 18 Jan 2019 14:02:27 +0000 (14:02 +0000)
committerWill Deacon <will.deacon@arm.com>
Sat, 19 Jan 2019 22:57:38 +0000 (22:57 +0000)
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>
arch/arm64/kernel/perf_event.c

index 1620a37..4addb38 100644 (file)
@@ -810,7 +810,7 @@ static void armv8pmu_clear_event_idx(struct pmu_hw_events *cpuc,
 }
 
 /*
- * Add an event filter to a given event. This will only work for PMUv2 PMUs.
+ * Add an event filter to a given event.
  */
 static int armv8pmu_set_event_filter(struct hw_perf_event *event,
                                     struct perf_event_attr *attr)