[lkml]   [2015]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/9] powerpc/hv-24x7: Reorganize single_24x7_request()
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(-)


 \ /
  Last update: 2015-02-17 23:21    [W:0.080 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site