]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/perf: arm_pmu: add common attr group fields
authorMark Rutland <mark.rutland@arm.com>
Fri, 9 Sep 2016 13:08:26 +0000 (14:08 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 9 Sep 2016 13:51:51 +0000 (14:51 +0100)
commit80ae5b0cae3240c11144de1efcaa5262b9193aa4
treeac544c7b51bc28be08696c696a718cec63a0894f
parent5c5980507d548e5f39874c569837f30f6948dcae
drivers/perf: arm_pmu: add common attr group fields

In preparation for adding common attribute groups, add an array of
attribute group pointers to arm_pmu, which will be used if the
backend hasn't already set pmu::attr_groups.

Subsequent patches will move backends over to using these, before adding
common fields.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm_pmu.c
include/linux/perf/arm_pmu.h