summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-10-31 00:21:00 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-11-11 04:39:40 +0300
commit7b68621f8d16689cbb4203aceaca86ffb165f1d0 (patch)
treedfcd327cd822792877e2b007a9bc079d0ddd94fe /tools/perf/scripts/python/sctop.py
parent60602cb549f1965a7edbc96026760dfb93911fab (diff)
downloadlinux-7b68621f8d16689cbb4203aceaca86ffb165f1d0.tar.xz
ftrace: Clean up the recursion code a bit
In trace_test_and_set_recursion(), current->trace_recursion is placed into a variable, and that variable should be used for the processing, as there's no reason to dereference current multiple times. On trace_clear_recursion(), current->trace_recursion is modified and there's no reason to copy it over to a variable. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions