powerpc/perf/hv-24x7: Define add_event_to_24x7_request()
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tue, 31 Mar 2015 01:53:44 +0000 (18:53 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:25 +0000 (20:49 +1000)
commite3ee15dc5d19d060012d0a89b085d56e50d40a2b
tree19fffede700c05a8cb492b6efbfe846b4698c65a
parent33ba14c0d8ff64d51adb543f689cde7a9a227cd8
powerpc/perf/hv-24x7: Define add_event_to_24x7_request()

Move code that maps a perf_event to a 24x7 request buffer into a
separate function, add_event_to_24x7_request().

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/hv-24x7.c