[PATCH] drm/xe/trace: Remove extra newline from GuC CT trace points

Matthew Brost matthew.brost at intel.com
Fri Feb 2 21:26:18 UTC 2024


TP_printk includes a newline at the end, no need for an extra one.

Signed-off-by: Matthew Brost <matthew.brost at intel.com>
---
 drivers/gpu/drm/xe/xe_trace.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_trace.h b/drivers/gpu/drm/xe/xe_trace.h
index e4e7262191ad..7858ca0d0720 100644
--- a/drivers/gpu/drm/xe/xe_trace.h
+++ b/drivers/gpu/drm/xe/xe_trace.h
@@ -578,7 +578,7 @@ DECLARE_EVENT_CLASS(xe_guc_ctb,
 			    __entry->_head = _head;
 		    ),
 
-		    TP_printk("gt%d: H2G CTB: action=0x%x, len=%d, tail=%d, head=%d\n",
+		    TP_printk("gt%d: H2G CTB: action=0x%x, len=%d, tail=%d, head=%d",
 			      __entry->gt_id, __entry->action, __entry->len,
 			      __entry->tail, __entry->_head)
 );
@@ -592,7 +592,7 @@ DEFINE_EVENT_PRINT(xe_guc_ctb, xe_guc_ctb_g2h,
 		   TP_PROTO(u8 gt_id, u32 action, u32 len, u32 _head, u32 tail),
 		   TP_ARGS(gt_id, action, len, _head, tail),
 
-		   TP_printk("gt%d: G2H CTB: action=0x%x, len=%d, tail=%d, head=%d\n",
+		   TP_printk("gt%d: G2H CTB: action=0x%x, len=%d, tail=%d, head=%d",
 			     __entry->gt_id, __entry->action, __entry->len,
 			     __entry->tail, __entry->_head)
 
-- 
2.34.1



More information about the Intel-xe mailing list