tracing: Add '__rel_loc' using trace event macros
authorMasami Hiramatsu <mhiramat@kernel.org>
Mon, 22 Nov 2021 09:30:21 +0000 (18:30 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 6 Dec 2021 20:37:21 +0000 (15:37 -0500)
commit55de2c0b5610cba5a5a93c0788031133c457e689
tree49ceb35bc7dd01764c78c76504912aca57c9d55d
parent05770dd0ad110854c7157d95700d7c89979cdb3e
tracing: Add '__rel_loc' using trace event macros

Add '__rel_loc' using trace event macros. These macros are usually
not used in the kernel, except for testing purpose.
This also add "rel_" variant of macros for dynamic_array string,
and bitmask.

Link: https://lkml.kernel.org/r/163757342119.510314.816029622439099016.stgit@devnote2
Cc: Beau Belgrave <beaub@linux.microsoft.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/trace/bpf_probe.h
include/trace/perf.h
include/trace/trace_events.h
kernel/trace/trace.h