Re: [PATCH v4] drm/xe: Remove unused xe_vm_restart and xe_vma_flush tracepoints
From: Sowmya Torra
Date: Mon Nov 16 2026 - 13:15:09 EST
Hi everyone,
I received a CI notification saying that testing could not start
because my email address is not on the allowlist.
The notification refers to my earlier patch removing only
xe_vm_restart. I have since sent v4, which combines the removal of
xe_vm_restart and xe_vma_flush.
Could someone trigger CI for v4? Please let me know if I need to do
anything on my side.
Thanks,
Sowmya
On Sun, Nov 8, 2026 at 1:28 PM Torra Sowmya <sowmyatorra@xxxxxxxxx> wrote:
>
> 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@xxxxxxxxx>
> ---
> 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
>