summaryrefslogtreecommitdiff
path: root/kernel/trace/tracing_map.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2021-11-26 21:35:26 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-11-26 22:31:23 +0300
commit6cb206508b621a9a0a2c35b60540e399225c8243 (patch)
treeb249a21d63b5825fa4a125f62acf2aa4caed1463 /kernel/trace/tracing_map.c
parent1880ed71ce863318c1ce93bf324876fb5f92854f (diff)
downloadlinux-6cb206508b621a9a0a2c35b60540e399225c8243.tar.xz
tracing: Check pid filtering when creating events
When pid filtering is activated in an instance, all of the events trace files for that instance has the PID_FILTER flag set. This determines whether or not pid filtering needs to be done on the event, otherwise the event is executed as normal. If pid filtering is enabled when an event is created (via a dynamic event or modules), its flag is not updated to reflect the current state, and the events are not filtered properly. Cc: stable@vger.kernel.org Fixes: 3fdaf80f4a836 ("tracing: Implement event pid filtering") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/tracing_map.c')
0 files changed, 0 insertions, 0 deletions