All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: Remove unused xe_vma_flush tracepoint
@ 2026-11-02 18:41 Torra Sowmya
  2026-11-03 11:05 ` Sowmya Torra
  2026-11-07 18:41 ` Steven Rostedt
  0 siblings, 2 replies; 4+ messages in thread
From: Torra Sowmya @ 2026-11-02 18:41 UTC (permalink / raw)
  To: outreachy; +Cc: rostedt, julianbraha, julia.lawall

Commit f3e9b1f43458 ("drm/xe: Remove async worker and rework sync
binds") removed the async worker and its calls to
trace_xe_vma_flush(), leaving the event definition unused.

Remove the definition from xe_trace_bo.h to avoid generating code
and data for an event with no remaining callers.

With the tested x86-64 configuration, size reports a reduction of
452 bytes in xe_trace_bo.o, from 20262 to 19810 bytes: 156 bytes
in text and 296 bytes in data.

Signed-off-by: Torra Sowmya <sowmyatorra@gmail.com>
---
 drivers/gpu/drm/xe/xe_trace_bo.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_trace_bo.h b/drivers/gpu/drm/xe/xe_trace_bo.h
index 86323cf3be2c..72c4107adc13 100644
--- a/drivers/gpu/drm/xe/xe_trace_bo.h
+++ b/drivers/gpu/drm/xe/xe_trace_bo.h
@@ -115,11 +115,6 @@ DECLARE_EVENT_CLASS(xe_vma,
 			      __entry->end, __entry->ptr)
 )
 
-DEFINE_EVENT(xe_vma, xe_vma_flush,
-	     TP_PROTO(struct xe_vma *vma),
-	     TP_ARGS(vma)
-);
-
 DEFINE_EVENT(xe_vma, xe_vma_pagefault,
 	     TP_PROTO(struct xe_vma *vma),
 	     TP_ARGS(vma)
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-07 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-02 18:41 [PATCH] drm/xe: Remove unused xe_vma_flush tracepoint Torra Sowmya
2026-11-03 11:05 ` Sowmya Torra
2026-11-07 18:38   ` Steven Rostedt
2026-11-07 18:41 ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.