powerpc/perf: Add support for the hv 24x7 interface
authorCody P Schafer <cody@linux.vnet.ibm.com>
Fri, 14 Mar 2014 05:00:42 +0000 (16:00 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 23 Mar 2014 22:48:32 +0000 (09:48 +1100)
commit0e93a6edd9de7000d36788b1b8985efa610b698d
treee64f4c00f61a706dc23a48995b3ce3258b0c0d88
parent220a0c609ad173f0130d7ecffbc70e5a9f8d2061
powerpc/perf: Add support for the hv 24x7 interface

This provides a basic interface between hv_24x7 and perf. Similar to
the one provided for gpci, it lacks transaction support and does not
list any events.

Example usage via perf tool:

perf stat -e 'hv_24x7/domain=2,offset=8,starting_index=0,lpar=0xffffffff/' -r 0 -C 0 -x ' ' sleep 0.1

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/perf/hv-24x7.c [new file with mode: 0644]