]> Gentwo Git Trees - linux/.git/commitdiff
Merge branch 'topic/func-profiler-offset' of git://git.kernel.org/pub/scm/linux/kerne...
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 4 Nov 2025 15:05:02 +0000 (10:05 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 4 Nov 2025 15:12:32 +0000 (10:12 -0500)
Updates to the function profiler adds new options to tracefs. The options
are currently defined by an enum as flags. The added options brings the
number of options over 32, which means they can no longer be held in a 32
bit enum. The TRACE_ITER_* flags are converted to a macro TRACE_ITER(*) to
allow the creation of options to still be done by macros.

This change is intrusive, as it affects all TRACE_ITER* options throughout
the trace code. Merge the branch that added these options and converted
the TRACE_ITER_* enum into a TRACE_ITER(*) macro, to allow the topic
branches to still be developed without conflict.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1  2 
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_output.c
kernel/trace/trace_syscalls.c

Simple merge
Simple merge
Simple merge
index 47d9771e8f7c992d97f51c429d85848b2654f90e,e2c679bd7ace155e2904539494f444992b9ed449..e07c5a3cc7abdd8e69b2435e63794cd016279853
@@@ -262,15 -146,6 +262,15 @@@ print_syscall_enter(struct trace_iterat
                goto end;
        }
  
-               if (!tr || !(tr->trace_flags & TRACE_ITER_VERBOSE))
 +      switch (entry->syscall_nr) {
 +      case __NR_openat:
++              if (!tr || !(tr->trace_flags & TRACE_ITER(VERBOSE)))
 +                      return sys_enter_openat_print(trace, entry, s, event);
 +              break;
 +      default:
 +              break;
 +      }
 +
        trace_seq_printf(s, "%s(", entry->name);
  
        for (i = 0; i < entry->nb_args; i++) {