aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/include/asm/opal-api.h
diff options
context:
space:
mode:
authorAnju T Sudhakar <anju@linux.vnet.ibm.com>2019-04-16 15:18:27 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-03 02:54:59 +1000
commitd1720adff3783a2ba7c128e304a385d18962835b (patch)
tree36026a0431b6c372dad6e6489c836c75cb2296e8 /arch/powerpc/include/asm/opal-api.h
parentpowerpc/perf: Fix loop exit condition in nest_imc_event_init (diff)
downloadwireguard-linux-d1720adff3783a2ba7c128e304a385d18962835b.tar.xz
wireguard-linux-d1720adff3783a2ba7c128e304a385d18962835b.zip
powerpc/include: Add data structures and macros for IMC trace mode
Add the macros needed for IMC (In-Memory Collection Counters) trace-mode and data structure to hold the trace-imc record data. Also, add the new type "OPAL_IMC_COUNTERS_TRACE" in 'opal-api.h', since there is a new switch case added in the opal-calls for IMC. Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com> Reviewed-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/include/asm/opal-api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/opal-api.h b/arch/powerpc/include/asm/opal-api.h
index 234fde15b37c..e1577cfa7186 100644
--- a/arch/powerpc/include/asm/opal-api.h
+++ b/arch/powerpc/include/asm/opal-api.h
@@ -1129,6 +1129,7 @@ enum {
enum {
OPAL_IMC_COUNTERS_NEST = 1,
OPAL_IMC_COUNTERS_CORE = 2,
+ OPAL_IMC_COUNTERS_TRACE = 3,
};