Skip to contentSkip to conversation

drm/xe: Remove unused xe_vma_acc tracepoint

PATCH New Maria Sheikh 1 participant 1 message Nov 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/xe: Remove unused xe_vma_acc tracepoint

Tracepoint definitions consume kernel memory even when they are not used. The xe_vma_acc has had no callers since commit 816e12793c6d ("drm/xe: Remove unused GT page fault code") removed the code that used it, but its definition was left behind.
Remove the unused definition. This reduces the size of xe_trace_bo.o by 452 bytes.

Fixes 816e12793c6d ("drm/xe: Remove unused GT page fault code")
---
 drivers/gpu/drm/xe/xe_trace_bo.h | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/xe/xe_trace_bo.h +0 -5
index 36fc7eb65882..1025bf9e571a 100644
@@ -130,11 +130,6 @@ DEFINE_EVENT(xe_vma, xe_vma_pagefault,
 	     TP_ARGS(vma)
 );
 
-DEFINE_EVENT(xe_vma, xe_vma_acc,
-	     TP_PROTO(struct xe_vma *vma),
-	     TP_ARGS(vma)
-);
-
 DEFINE_EVENT(xe_vma, xe_vma_bind,
 	     TP_PROTO(struct xe_vma *vma),
 	     TP_ARGS(vma)
Signature · 1 line
2.53.0