powerpc/perf: factor out the event format field
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Fri, 2 Dec 2016 00:34:59 +0000 (06:04 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Dec 2016 05:26:54 +0000 (16:26 +1100)
commit60b00025641e2921dcfba4d54b6cf7f0c5903677
tree6315ee30caa368f4906e0366d1845ff622c8729a
parent4b6fad7097f883335b6d9627c883cb7f276d94c9
powerpc/perf: factor out the event format field

Factor out the format field structure for PowerISA v2.07.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/isa207-common.c
arch/powerpc/perf/power8-pmu.c
arch/powerpc/perf/power9-pmu.c