Skip to content

Commit

Permalink
powerpc/perf: Give generic PMU a nice name
Browse files Browse the repository at this point in the history
When booting on a machine that uses the compat pmu driver we see this:

 [    0.071192] GENERIC_COMPAT performance monitor hardware support registered

Which is a bit shouty. Give it a nicer name.

Signed-off-by: Joel Stanley <[email protected]>
Reviewed-by: Athira Rajeev <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
shenki authored and mpe committed Jul 18, 2022
1 parent ac2a230 commit 78988b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/perf/generic-compat-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static int generic_compute_mmcr(u64 event[], int n_ev,
}

static struct power_pmu generic_compat_pmu = {
.name = "GENERIC_COMPAT",
.name = "ISAv3",
.n_counter = MAX_PMU_COUNTERS,
.add_fields = ISA207_ADD_FIELDS,
.test_adder = ISA207_TEST_ADDER,
Expand Down

0 comments on commit 78988b2

Please sign in to comment.