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)
commit86cdd72af936860503f392825410d1b60a3e474e
treeac544c7b51bc28be08696c696a718cec63a0894f
parentd3ea42aad584493b99c109e59ced77db145a68e1
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