[PATCH] genirq/matrix: Remove unused irq_matrix_alloc_reserved tracepoint

Steven Rostedt posted 1 patch 8 months, 2 weeks ago
include/trace/events/irq_matrix.h | 8 --------
1 file changed, 8 deletions(-)
[PATCH] genirq/matrix: Remove unused irq_matrix_alloc_reserved tracepoint
Posted by Steven Rostedt 8 months, 2 weeks ago
From: Steven Rostedt <rostedt@goodmis.org>

The tracepoint irq_matrix_alloc_reserved was added but never used.
Remove it.

Link: https://lore.kernel.org/all/20250529130138.544ffec4@gandalf.local.home/

Fixes: ec0f7cd273dc4 ("genirq/matrix: Add tracepoints")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
---
 include/trace/events/irq_matrix.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/trace/events/irq_matrix.h b/include/trace/events/irq_matrix.h
index 267d4cbbf360..93244078b4e6 100644
--- a/include/trace/events/irq_matrix.h
+++ b/include/trace/events/irq_matrix.h
@@ -138,14 +138,6 @@ DEFINE_EVENT(irq_matrix_global_update, irq_matrix_assign_system,
 	TP_ARGS(bit, matrix)
 );
 
-DEFINE_EVENT(irq_matrix_cpu, irq_matrix_alloc_reserved,
-
-	TP_PROTO(int bit, unsigned int cpu,
-		 struct irq_matrix *matrix, struct cpumap *cmap),
-
-	TP_ARGS(bit, cpu, matrix, cmap)
-);
-
 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_reserve_managed,
 
 	TP_PROTO(int bit, unsigned int cpu,
-- 
2.47.2
Re: [PATCH] genirq/matrix: Remove unused irq_matrix_alloc_reserved tracepoint
Posted by Thomas Gleixner 8 months, 1 week ago
On Thu, May 29 2025 at 13:57, Steven Rostedt wrote:
> From: Steven Rostedt <rostedt@goodmis.org>
>
> The tracepoint irq_matrix_alloc_reserved was added but never used.
> Remove it.
>
> Link: https://lore.kernel.org/all/20250529130138.544ffec4@gandalf.local.home/
>
> Fixes: ec0f7cd273dc4 ("genirq/matrix: Add tracepoints")
> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Re: [PATCH] genirq/matrix: Remove unused irq_matrix_alloc_reserved tracepoint
Posted by Steven Rostedt 8 months, 2 weeks ago
Can I get an acked-by, and I'll pull this in through my tree (with the
other patches that remove unused events)?

Thanks,

-- Steve

On Thu, 29 May 2025 13:57:39 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:

> From: Steven Rostedt <rostedt@goodmis.org>
> 
> The tracepoint irq_matrix_alloc_reserved was added but never used.
> Remove it.
> 
> Link: https://lore.kernel.org/all/20250529130138.544ffec4@gandalf.local.home/
> 
> Fixes: ec0f7cd273dc4 ("genirq/matrix: Add tracepoints")
> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
> ---
>  include/trace/events/irq_matrix.h | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/include/trace/events/irq_matrix.h b/include/trace/events/irq_matrix.h
> index 267d4cbbf360..93244078b4e6 100644
> --- a/include/trace/events/irq_matrix.h
> +++ b/include/trace/events/irq_matrix.h
> @@ -138,14 +138,6 @@ DEFINE_EVENT(irq_matrix_global_update, irq_matrix_assign_system,
>  	TP_ARGS(bit, matrix)
>  );
>  
> -DEFINE_EVENT(irq_matrix_cpu, irq_matrix_alloc_reserved,
> -
> -	TP_PROTO(int bit, unsigned int cpu,
> -		 struct irq_matrix *matrix, struct cpumap *cmap),
> -
> -	TP_ARGS(bit, cpu, matrix, cmap)
> -);
> -
>  DEFINE_EVENT(irq_matrix_cpu, irq_matrix_reserve_managed,
>  
>  	TP_PROTO(int bit, unsigned int cpu,