From: Cody P Schafer Date: Fri, 30 Jan 2015 21:46:01 +0000 (-0800) Subject: powerpc/perf/{hv-gpci, hv-common}: generate requests with counters annotated X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~116^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e9f60108423f18a99c9cc93ef7f23490ecc709b;p=pandora-kernel.git powerpc/perf/{hv-gpci, hv-common}: generate requests with counters annotated 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 changes in naming). In exchange for this macro disaster, we get autogenerated event listing for GPCI in sysfs, build time field offset checking, and zero duplication of information about GPCI requests. Signed-off-by: Cody P Schafer Signed-off-by: Sukadev Bhattiprolu Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed