Revert "tracing: Constify string literal data member in struct trace_event_call"

This reverts commit f2a16d2ba4 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: Ifca34bf597ae627b5d9c61b5d6e6fbe9a568cfc3
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2025-01-04 14:10:34 +00:00
parent 51d8dc4e92
commit 7d8965fde5

View File

@@ -355,7 +355,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;
};