From: Steven Rostedt <rostedt@goodmis.org>
To: Torra Sowmya <sowmyatorra@gmail.com>
Cc: outreachy@lists.linux.dev, julianbraha@gmail.com, julia.lawall@inria.fr
Subject: Re: [PATCH v2] drm/xe: Remove unused xe_vm_restart tracepoint
Date: Sat, 7 Nov 2026 13:33:02 -0500 [thread overview]
Message-ID: <20261107133302.63a78f3e@fedora> (raw)
In-Reply-To: <20261101183517.4649-1-sowmyatorra@gmail.com>
On Mon, 2 Nov 2026 00:05:17 +0530
Torra Sowmya <sowmyatorra@gmail.com> wrote:
> 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.
That looks about right. The DEFINE_EVENT() is not as big as a
TRACE_EVENT() (in fact, that's why DEFINE_EVENT exists).
>
Please add:
Fixes: f3e9b1f43458 ("drm/xe: Remove async worker and rework sync binds")
but other than that, looks good.
Thanks,
-- Steve
> Signed-off-by: Torra Sowmya <sowmyatorra@gmail.com>
> ---
> Changes in v2:
> - Add the measured object-size reduction to the commit message:
> 436 bytes in xe_trace_bo.o (140 text, 296 data).
>
> 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)
next prev parent reply other threads:[~2026-11-07 18:33 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 [this message]
2026-11-08 6:04 ` [PATCH v3] " Torra Sowmya
2026-11-08 7:17 ` 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=20261107133302.63a78f3e@fedora \
--to=rostedt@goodmis.org \
--cc=julia.lawall@inria.fr \
--cc=julianbraha@gmail.com \
--cc=outreachy@lists.linux.dev \
--cc=sowmyatorra@gmail.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.