[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427766828-771-1-git-send-email-sukadev@linux.vnet.ibm.com>
Date: Mon, 30 Mar 2015 18:53:37 -0700
From: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To: Michael Ellerman <mpe@...erman.id.au>,
Paul Mackerras <paulus@...ba.org>, peterz@...radead.org
Cc: dev@...yps.com, <linux-kernel@...r.kernel.org>,
linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH v2 00/10] 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.
Changelog[v2]
- Split independent changes in patch 2 into patch 3.
- Minor changes to pr_err() (Patch 4).
- Move whitespace changes to separate patch (Patch 8).
- Minor function renames (Patch 10).
Sukadev Bhattiprolu (10):
powerpc/hv-24x7: Modify definition of request and result buffers
powerpc/hv24x7: Remove unnecessary parameter
perf/hv24x7: Use pr_devel() to log message
powerpc/hv-24x7: Drop event_24x7_request()
powerpc/hv24x7: Move debug prints to separate function
powerpc/hv-24x7: Rename hv_24x7_event_update
powerpc/hv-24x7: Define add_event_to_24x7_request()
perf/hv24x7: Whitespace cleanup
powerpc/hv-24x7: Define update_event_count()
powerpc/hv-24x7: Break up single_24x7_request
arch/powerpc/perf/hv-24x7.c | 212 +++++++++++++++++++++++++++-----------------
arch/powerpc/perf/hv-24x7.h | 8 +-
2 files changed, 137 insertions(+), 83 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