]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracing: Declare system call tracepoints with TRACE_EVENT_SYSCALL
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Oct 2024 01:07:11 +0000 (21:07 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 9 Oct 2024 21:05:54 +0000 (17:05 -0400)
commit0e6caab8db8bc9359d1a8363e1ee9b2205ed704d
tree9ff3837ff7cc90e46b538bf5373e2b8354bcdec6
parente53244e2c8931f9e80c1841293aea86ef8ad32a3
tracing: Declare system call tracepoints with TRACE_EVENT_SYSCALL

In preparation for allowing system call tracepoints to handle page
faults, introduce TRACE_EVENT_SYSCALL to declare the sys_enter/sys_exit
tracepoints.

Move the common code between __DECLARE_TRACE and __DECLARE_TRACE_SYSCALL
into __DECLARE_TRACE_COMMON.

This change is not meant to alter the generated code, and only prepares
the following modifications.

Cc: Michael Jeanson <mjeanson@efficios.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Yonghong Song <yhs@fb.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: bpf@vger.kernel.org
Cc: Joel Fernandes <joel@joelfernandes.org>
Link: https://lore.kernel.org/20241009010718.2050182-2-mathieu.desnoyers@efficios.com
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/linux/tracepoint.h
include/trace/bpf_probe.h
include/trace/define_trace.h
include/trace/events/syscalls.h
include/trace/perf.h
include/trace/trace_events.h