[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1424210434-28070-1-git-send-email-sukadev@linux.vnet.ibm.com>
Date: Tue, 17 Feb 2015 14:00:25 -0800
From: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To: Michael Ellerman <mpe@...erman.id.au>,
Paul Mackerras <paulus@...ba.org>
Cc: peterz@...radead.org, <linux-kernel@...r.kernel.org>,
linuxppc-dev@...ts.ozlabs.org
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(-)
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists