diff options
author | Abhishek Dubey <adubey@linux.ibm.com> | 2025-01-13 11:40:38 -0500 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2025-02-11 11:35:45 +0530 |
commit | 81c3d637c30f82966e551452e061d6e7b0d8df37 (patch) | |
tree | c5f27464e646b9a6924b90d686690c608eb277ad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 708220ae50251212d8d33683c7b48eb5c4db237e (diff) |
powerpc/pseries: Export hardware trace macro dump via debugfs
This patch adds debugfs interface to export Hardware Trace Macro (HTM)
function data in a LPAR. New hypervisor call "H_HTM" has been
defined to setup, configure, control and dump the HTM data.
This patch supports only dumping of HTM data in a LPAR.
New debugfs folder called "htmdump" has been added under
/sys/kernel/debug/arch path which contains files need to
pass required parameters for the H_HTM dump function. New Kconfig
option called "CONFIG_HTMDUMP" is added in platform/pseries
for the same.
With this module loaded, list of files in debugfs path
/sys/kernel/debug/powerpc/htmdump
coreindexonchip htmtype nodalchipindex nodeindex trace
Signed-off-by: Abhishek Dubey <adubey@linux.ibm.com>
Co-developed-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Reviewed-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250113164039.302017-2-adubey@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions