summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2024-12-12 16:12:37 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-12-26 18:38:37 +0300
commitcff6d93eab00bacf8b6bffdef775fc2de0273c96 (patch)
tree27391463b74d16cf51e7a8a58c5b3c56cc922eb9 /tools/perf/scripts/python/export-to-postgresql.py
parent9e49ca756d207f4313fb7af48648a67da8e4e250 (diff)
downloadlinux-cff6d93eab00bacf8b6bffdef775fc2de0273c96.tar.xz
tracepoint: Reduce duplication of __DO_TRACE_CALL
The logic for invoking __DO_TRACE_CALL was extracted to a static inline function called __rust_do_trace_##name so that Rust can call it directly. This logic does not include the static branch, to avoid a function call when the tracepoint is disabled. Since the C code needs to perform the same logic after checking the static key, this logic is currently duplicated. Thus, remove this duplication by having C call the static inline function too. Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/20241212131237.1988409-1-aliceryhl@google.com Signed-off-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions