mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: remove unused tracepoint
@ 2026-10-13 14:01 Omer El Idrissi
  2026-10-14 15:40 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Omer El Idrissi @ 2026-10-13 14:01 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, airlied, simona
  Cc: amd-gfx, dri-devel, linux-kernel, Omer El Idrissi

Remove unused tracepoint "amdgpu_reset_reg_dumps", flagged by UT=1,
from amdgpu/amdgpu_trace.h

Signed-off-by: Omer El Idrissi <omer.e.idrissi@gmail.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
index fcd4cf2f4cd8..6fecee5be1ba 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
@@ -564,22 +564,6 @@ TRACE_EVENT(amdgpu_ib_pipe_sync,
 		      __get_str(ring), __entry->ctx, __entry->seqno)
 );
 
-TRACE_EVENT(amdgpu_reset_reg_dumps,
-	    TP_PROTO(uint32_t address, uint32_t value),
-	    TP_ARGS(address, value),
-	    TP_STRUCT__entry(
-			     __field(uint32_t, address)
-			     __field(uint32_t, value)
-			     ),
-	    TP_fast_assign(
-			   __entry->address = address;
-			   __entry->value = value;
-			   ),
-	    TP_printk("amdgpu register dump 0x%x: 0x%x",
-		      __entry->address,
-		      __entry->value)
-);
-
 DECLARE_EVENT_CLASS(amdgpu_userq_queue,
 	    TP_PROTO(struct amdgpu_usermode_queue *queue),
 	    TP_ARGS(queue),
-- 
2.53.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amdgpu: remove unused tracepoint
  2026-10-13 14:01 [PATCH] drm/amdgpu: remove unused tracepoint Omer El Idrissi
@ 2026-10-14 15:40 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2026-10-14 15:40 UTC (permalink / raw)
  To: Omer El Idrissi
  Cc: alexander.deucher, christian.koenig, airlied, simona, amd-gfx,
	dri-devel, linux-kernel

Applied.  Thanks!

On Wed, Oct 14, 2026 at 8:56 AM Omer El Idrissi
<omer.e.idrissi@gmail.com> wrote:
>
> Remove unused tracepoint "amdgpu_reset_reg_dumps", flagged by UT=1,
> from amdgpu/amdgpu_trace.h
>
> Signed-off-by: Omer El Idrissi <omer.e.idrissi@gmail.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 16 ----------------
>  1 file changed, 16 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
> index fcd4cf2f4cd8..6fecee5be1ba 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
> @@ -564,22 +564,6 @@ TRACE_EVENT(amdgpu_ib_pipe_sync,
>                       __get_str(ring), __entry->ctx, __entry->seqno)
>  );
>
> -TRACE_EVENT(amdgpu_reset_reg_dumps,
> -           TP_PROTO(uint32_t address, uint32_t value),
> -           TP_ARGS(address, value),
> -           TP_STRUCT__entry(
> -                            __field(uint32_t, address)
> -                            __field(uint32_t, value)
> -                            ),
> -           TP_fast_assign(
> -                          __entry->address = address;
> -                          __entry->value = value;
> -                          ),
> -           TP_printk("amdgpu register dump 0x%x: 0x%x",
> -                     __entry->address,
> -                     __entry->value)
> -);
> -
>  DECLARE_EVENT_CLASS(amdgpu_userq_queue,
>             TP_PROTO(struct amdgpu_usermode_queue *queue),
>             TP_ARGS(queue),
> --
> 2.53.0
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-14 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 14:01 [PATCH] drm/amdgpu: remove unused tracepoint Omer El Idrissi
2026-10-14 15:40 ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®