* Re: [PATCH] drm/xe: Remove unused xe_vm_restart tracepoint
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
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Julia Lawall @ 2026-11-01 15:03 UTC (permalink / raw)
To: Torra Sowmya; +Cc: outreachy, rostedt, julianbraha
On Sun, 1 Nov 2026, Torra Sowmya 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.
Please include some information about the amount of memory saved, as in
Steve's commit in my original mail about tracepoints.
julia
>
> Remove the unused definition from xe_trace_bo.h to avoid generating
> code and data for an event that has no callers.
>
> 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..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
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH v2] drm/xe: Remove unused xe_vm_restart tracepoint
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 ` Torra Sowmya
2026-11-07 18:33 ` Steven Rostedt
2026-11-08 6:04 ` [PATCH v3] " Torra Sowmya
2026-11-09 15:31 ` ✗ LGCI.VerificationFailed: failure for drm/xe: Remove unused xe_vm_restart tracepoint (rev2) Patchwork
3 siblings, 1 reply; 8+ messages in thread
From: Torra Sowmya @ 2026-11-01 18:35 UTC (permalink / raw)
To: outreachy; +Cc: rostedt, julianbraha, julia.lawall
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.
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)
--
2.47.3
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH v2] drm/xe: Remove unused xe_vm_restart tracepoint
2026-11-01 18:35 ` [PATCH v2] " Torra Sowmya
@ 2026-11-07 18:33 ` Steven Rostedt
0 siblings, 0 replies; 8+ messages in thread
From: Steven Rostedt @ 2026-11-07 18:33 UTC (permalink / raw)
To: Torra Sowmya; +Cc: outreachy, julianbraha, julia.lawall
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)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3] drm/xe: Remove unused xe_vm_restart tracepoint
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-08 6:04 ` 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
3 siblings, 2 replies; 8+ messages in thread
From: Torra Sowmya @ 2026-11-08 6:04 UTC (permalink / raw)
To: matthew.brost, thomas.hellstrom, rodrigo.vivi
Cc: airlied, simona, intel-xe, dri-devel, linux-kernel, outreachy,
rostedt, julianbraha, julia.lawall
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
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH v3] drm/xe: Remove unused xe_vm_restart tracepoint
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
1 sibling, 0 replies; 8+ messages in thread
From: Sowmya Torra @ 2026-11-08 7:17 UTC (permalink / raw)
To: matthew.brost, thomas.hellstrom, rodrigo.vivi
Cc: airlied, simona, intel-xe, dri-devel, linux-kernel, outreachy,
rostedt, julianbraha, julia.lawall
Hi everyone,
I missed Steven’s request to combine this with the xe_vma_flush
removal before sending v3. Please hold off on applying this version.
I’m testing a combined revision and will send it shortly.
Sorry for the extra email.
Best regards,
Sowmya
On Sun, Nov 8, 2026 at 11:35 AM 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.
>
> 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
>
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH v4] drm/xe: Remove unused xe_vm_restart and xe_vma_flush tracepoints
2026-11-08 6:04 ` [PATCH v3] " Torra Sowmya
2026-11-08 7:17 ` Sowmya Torra
@ 2026-11-08 7:53 ` Torra Sowmya
1 sibling, 0 replies; 8+ messages in thread
From: Torra Sowmya @ 2026-11-08 7:53 UTC (permalink / raw)
To: matthew.brost, thomas.hellstrom, rodrigo.vivi
Cc: airlied, simona, intel-xe, dri-devel, linux-kernel, outreachy,
rostedt, julianbraha, julia.lawall
Commit f3e9b1f43458 ("drm/xe: Remove async worker and rework sync
binds") removed the calls to trace_xe_vm_restart() and
trace_xe_vma_flush(), but left both event definitions behind.
Remove the unused definitions from xe_trace_bo.h to avoid
generating code and data for events with no remaining callers.
With the tested x86-64 configuration, size reports a reduction of
888 bytes in xe_trace_bo.o, from 20262 to 19374 bytes: 296 bytes
in text and 592 bytes in data.
Fixes: f3e9b1f43458 ("drm/xe: Remove async worker and rework sync binds")
Signed-off-by: Torra Sowmya <sowmyatorra@gmail.com>
---
Changes in v4:
- Combine the xe_vm_restart and xe_vma_flush removals as requested
by Steven. This replaces the separate patches for these events.
- Report the measured combined object-size reduction.
Changes in v3:
- Add the Fixes tag.
Changes in v2:
- Document the measured object-size reduction.
drivers/gpu/drm/xe/xe_trace_bo.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_trace_bo.h b/drivers/gpu/drm/xe/xe_trace_bo.h
index 86323cf3be2c..a6802f6d3a01 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)
@@ -228,11 +223,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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* ✗ LGCI.VerificationFailed: failure for drm/xe: Remove unused xe_vm_restart tracepoint (rev2)
2026-11-01 12:58 [PATCH] drm/xe: Remove unused xe_vm_restart tracepoint Torra Sowmya
` (2 preceding siblings ...)
2026-11-08 6:04 ` [PATCH v3] " Torra Sowmya
@ 2026-11-09 15:31 ` Patchwork
3 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2026-11-09 15:31 UTC (permalink / raw)
To: Torra Sowmya; +Cc: intel-xe
== Series Details ==
Series: drm/xe: Remove unused xe_vm_restart tracepoint (rev2)
URL : https://patchwork.freedesktop.org/series/178107/
State : failure
== Summary ==
Series author address 'sowmyatorra@gmail.com' is not on the allowlist, which prevents CI from being automatically triggered.
If you want CI to run for this series, ask Patchwork project owners to click 'retest' on the series in Patchwork.
Exception occurred during validation, bailing out!
Build URL: http://intel-gfx-ci-public.igk.intel.com:8080/job/xe_pw_trigger/1337261/ (on master)
^ permalink raw reply [flat|nested] 8+ messages in thread