diff options
author | Athira Rajeev <atrajeev@linux.ibm.com> | 2025-04-20 23:38:40 +0530 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2025-05-04 09:05:47 +0530 |
commit | dea7384e14e7f9429021544d0d710fbef8445def (patch) | |
tree | 21488d26d7c63de6b31ab0c44277f4a63124cad0 /scripts/gdb/linux/utils.py | |
parent | 627cf584f4c36acb52230ffc47403cf9469ec9d0 (diff) |
powerpc/pseries/htmdump: Add htm info support to htmdump module
Support dumping system processor configuration from Hardware
Trace Macro (HTM) function via debugfs interface. Under
debugfs folder "/sys/kernel/debug/powerpc/htmdump", add
file "htminfo".
The interface allows only read of this file which will present the
content of HTM buffer from the hcall. The 16th offset of HTM
buffer has value for the number of entries for array of processors.
Use this information to copy data to the debugfs file
Signed-off-by: Athira Rajeev <atrajeev@linux.ibm.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250420180844.53128-6-atrajeev@linux.ibm.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions