[PATCH v4 06/10] powerpc/perf/{hv-gpci,hv-common}: generate requests with counters annotated

2014-09-24 Thread Sukadev Bhattiprolu
From: Cody P Schafer This adds (in req-gen/) a framework for defining gpci counter requests. It uses macro magic similar to ftrace. Also convert the existing hv-gpci request structures and enum values to use the new framework (and adjust old users of the structs and enum values to cope with

[PATCH v4 06/10] powerpc/perf/{hv-gpci,hv-common}: generate requests with counters annotated

2014-09-24 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com This adds (in req-gen/) a framework for defining gpci counter requests. It uses macro magic similar to ftrace. Also convert the existing hv-gpci request structures and enum values to use the new framework (and adjust old users of the structs and enum