diff options
author | Anju T Sudhakar <anju@linux.vnet.ibm.com> | 2019-04-16 15:18:27 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-05-03 02:54:59 +1000 |
commit | d1720adff3783a2ba7c128e304a385d18962835b (patch) | |
tree | 36026a0431b6c372dad6e6489c836c75cb2296e8 /arch/powerpc/include/asm/opal-api.h | |
parent | 860b7d2286236170a36f94946d03ca9888d32571 (diff) | |
download | blackbird-op-linux-d1720adff3783a2ba7c128e304a385d18962835b.tar.gz blackbird-op-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 'arch/powerpc/include/asm/opal-api.h')
-rw-r--r-- | arch/powerpc/include/asm/opal-api.h | 1 |
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, }; |