From: Torra Sowmya <sowmyatorra@gmail.com>
To: matthew.brost@intel.com, thomas.hellstrom@linux.intel.com,
rodrigo.vivi@intel.com
Cc: airlied@gmail.com, simona@ffwll.ch,
intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org, outreachy@lists.linux.dev,
rostedt@goodmis.org, julianbraha@gmail.com,
julia.lawall@inria.fr
Subject: [PATCH v3] drm/xe: Remove unused xe_vm_restart tracepoint
Date: Sun, 8 Nov 2026 11:34:18 +0530 [thread overview]
Message-ID: <20261108060418.4554-1-sowmyatorra@gmail.com> (raw)
In-Reply-To: <20261101125808.9770-1-sowmyatorra@gmail.com>
Commit f3e9b1f43458 ("drm/xe: Remove async worker and rework sync
binds") removed the call to trace_xe_vm_restart(), but left the
event definition behind.
Remove the unused definition from xe_trace_bo.h to avoid generating
code and data for an event that has no callers.
With the tested x86-64 configuration, size reports a reduction of
436 bytes in xe_trace_bo.o, from 20262 to 19826 bytes: 140 bytes
in text and 296 bytes in data.
Fixes: f3e9b1f43458 ("drm/xe: Remove async worker and rework sync binds")
Signed-off-by: Torra Sowmya <sowmyatorra@gmail.com>
---
Changes in v3:
- Add the Fixes tag.
Changes in v2:
- Document the measured object-size reduction.
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..fa91dd2b2174 100644
--- a/drivers/gpu/drm/xe/xe_trace_bo.h
+++ b/drivers/gpu/drm/xe/xe_trace_bo.h
@@ -228,11 +228,6 @@ DEFINE_EVENT(xe_vm, xe_vm_cpu_bind,
TP_ARGS(vm)
);
-DEFINE_EVENT(xe_vm, xe_vm_restart,
- TP_PROTO(struct xe_vm *vm),
- TP_ARGS(vm)
-);
-
DEFINE_EVENT(xe_vm, xe_vm_rebind_worker_enter,
TP_PROTO(struct xe_vm *vm),
TP_ARGS(vm)
--
2.47.3
next prev parent reply other threads:[~2026-11-08 6:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 12:58 [PATCH] drm/xe: Remove unused xe_vm_restart tracepoint Torra Sowmya
2026-11-01 15:03 ` Julia Lawall
2026-11-01 18:35 ` [PATCH v2] " Torra Sowmya
2026-11-07 18:33 ` Steven Rostedt
2026-11-08 6:04 ` Torra Sowmya [this message]
2026-11-08 7:17 ` [PATCH v3] " Sowmya Torra
2026-11-08 7:53 ` [PATCH v4] drm/xe: Remove unused xe_vm_restart and xe_vma_flush tracepoints Torra Sowmya
2026-11-09 15:31 ` ✗ LGCI.VerificationFailed: failure for drm/xe: Remove unused xe_vm_restart tracepoint (rev2) Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261108060418.4554-1-sowmyatorra@gmail.com \
--to=sowmyatorra@gmail.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=julia.lawall@inria.fr \
--cc=julianbraha@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.brost@intel.com \
--cc=outreachy@lists.linux.dev \
--cc=rodrigo.vivi@intel.com \
--cc=rostedt@goodmis.org \
--cc=simona@ffwll.ch \
--cc=thomas.hellstrom@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.