tracing: Add a helper function to handle the dereference arg in verifier

Add a helper function called handle_dereference_arg() to replace the logic that is identical in two locations of test_event_printk(). Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/20250507191703.5dd8a61d@gandalf.local.home Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>


Author Steven Rostedt Date Commit Parent f75340d7
+20 -10
1 changed file
+20 -10
1 changed file