From 196c9546b3788d6ec4d7a164a5d4246b7e69d5d2 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 13 Jan 2025 09:47:24 +0000 Subject: [PATCH] Revert "tracing: Constify string literal data member in struct trace_event_call" This reverts commit 30080cdde63e028cf12f97300b4b58bc3a47b991 which is commit 452f4b31e3f70a52b97890888eeb9eaa9a87139a upstream. It breaks the Android kernel abi and can be brought back in the future in an abi-safe way if it is really needed. Bug: 161946584 Change-Id: Ib63a284c6a02575a89f533f77da910de420989a7 Signed-off-by: Greg Kroah-Hartman --- include/linux/trace_events.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index c1b258c8e8e5..b7f112517a95 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -255,7 +255,7 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - const char *name; + char *name; /* Set TRACE_EVENT_FL_TRACEPOINT flag when using "tp" */ struct tracepoint *tp; };