Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'trace-v5.16-rc2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull another tracing fix from Steven Rostedt:
"Fix the fix of pid filtering

The setting of the pid filtering flag tested the "trace only this pid"
case twice, and ignored the "trace everything but this pid" case.

The 5.15 kernel does things a little differently due to the new sparse
pid mask introduced in 5.16, and as the bug was discovered running the
5.15 kernel, and the first fix was initially done for that kernel,
that fix handled both cases (only pid and all but pid), but the
forward port to 5.16 created this bug"

* tag 'trace-v5.16-rc2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
tracing: Test the 'Do not trace this pid' case in create event

+1 -1
+1 -1
kernel/trace/trace_events.c
··· 2693 2693 lockdep_is_held(&event_mutex)); 2694 2694 2695 2695 if (!trace_pid_list_first(pid_list, &first) || 2696 - !trace_pid_list_first(pid_list, &first)) 2696 + !trace_pid_list_first(no_pid_list, &first)) 2697 2697 file->flags |= EVENT_FILE_FL_PID_FILTER; 2698 2698 2699 2699 file->event_call = call;