[PATCH 0/9] powerpc/hv-24x7: Reorganize single_24x7_request()
From: Sukadev Bhattiprolu
Date: Tue Feb 17 2015 - 17:01:19 EST
We currently issue a new hcall for to retrieve the value of each 24x7
counter that we want to read. However, the H_GET_24x7_DATA hcall can
retrieve several counters in a single call, which would be useful in
getting a more consistent snapshot of the system.
Reorganize the code that prepares a 24x7 hcall request, submits it and
processes the result to allow reading seveal counters at once. We still
submit a fresh hcall for each event for now. A follow-on patch-set will
build on this to submit multiple perf_events in a single hcall.
Thanks to Peter Zijlstra for his input.
Sukadev Bhattiprolu (9):
powerpc/perf: hv-24x7: Modify definition of request and result buffers
powerpc: perf/hv24x7: Remove unnecessary parameter
powerpc: perf/hv-24x7: Drop event_24x7_request()
powerpc: perf/hv24x7: Move debug prints to separate function
perf: powerpc/hv-24x7: Rename hv_24x7_event_update
powerpc: perf/hv-24x7: Define add_event_to_24x7_request()
powerpc: perf/hv-24x7: Define update_event_count()
powerpc: perf/hv-24x7: Break up single_24x7_request
powerpc: perf/hv-24x7: Add missing put_cpu_var()
arch/powerpc/perf/hv-24x7.c | 198 ++++++++++++++++++++++++++++----------------
arch/powerpc/perf/hv-24x7.h | 8 +-
2 files changed, 130 insertions(+), 76 deletions(-)
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/