mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 11:06:56 +07:00
drm/amd/display: Add customizable tracing event
[why] add customizable log with a message input, which is for adding test log in debugging as printf function in ETW. [Usage] EVENT_LOG_CUST_MSG1("TestLog","Hello World %d=0x%x", 123, pDC); Signed-off-by: Chiawen Huang <chiawen.huang@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1cc9f371fa
commit
6de89f79ea
@ -33,6 +33,7 @@
|
||||
|
||||
#define EVENT_LOG_AUX_REQ(ddc, type, action, address, len, data)
|
||||
#define EVENT_LOG_AUX_REP(ddc, type, replyStatus, len, data)
|
||||
#define EVENT_LOG_CUST_MSG(tag, a, ...)
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user