aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2020-01-08 13:57:55 +0000
committerPeter Zijlstra <[email protected]>2020-01-17 09:19:18 +0000
commit31537cf8f3f95d45360b995ad8be2c870edc5b02 (patch)
tree7d1ce73ea0f894260c5598db5aa60d0a48357b94 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentkprobes: Fix optimize_kprobe()/unoptimize_kprobe() cancellation logic (diff)
downloadkernel-31537cf8f3f95d45360b995ad8be2c870edc5b02.tar.gz
kernel-31537cf8f3f95d45360b995ad8be2c870edc5b02.zip
tracing: Initialize ret in syscall_enter_define_fields()
If syscall_enter_define_fields() is called on a system call with no arguments, the return code variable "ret" will never get initialized. Initialize it to zero. Fixes: 04ae87a52074e ("ftrace: Rework event_create_dir()") Reported-by: Qian Cai <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions