]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/pseries/htmdump: Add htm start support to htmdump module
authorAthira Rajeev <atrajeev@linux.ibm.com>
Sun, 20 Apr 2025 18:08:38 +0000 (23:38 +0530)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Sun, 4 May 2025 03:35:47 +0000 (09:05 +0530)
commite03e4b12dee95bb87507a50772f927d0eb152ca1
tree39615d58250684725a21b4383d7fa6fd98ac2b12
parentc6edd034e39f745feb9ad5298b92e0fec5bb9e9f
powerpc/pseries/htmdump: Add htm start support to htmdump module

Support starting of Hardware Trace Macro (HTM) function
via debugfs interface. Under debugfs folder
"/sys/kernel/debug/powerpc/htmdump", add file "htmstart".
The interface allows starting of htm via this file by
writing value "1". Also allows stopping of htm tracing by
writing value "0" to this file. Any other value returns
-EINVAL.

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-4-atrajeev@linux.ibm.com
arch/powerpc/platforms/pseries/htmdump.c