summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2025-03-07 10:14:12 +0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-03-07 12:34:07 -0500
commit5ba8f4a39ecd160c7b6ef8ef1373375799710a97 (patch)
tree51c5e3bd9892d58331c4c2de367bfa9d7a3916d6 /tools/perf/scripts/python/syscall-counts.py
parent76fe0337c2199988cb9ed7e41c05d687d95f2e18 (diff)
function_graph: Remove the unused variable func
Variable func is not effectively used, so delete it. kernel/trace/trace_functions_graph.c:925:16: warning: variable ‘func’ set but not used. This happened because the variable "func" which came from "call->func" was replaced by "ret_func" coming from "graph_ret->func" but "func" wasn't removed after the replacement. Link: https://lore.kernel.org/20250307021412.119107-1-jiapeng.chong@linux.alibaba.com Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=19250 Fixes: ff5c9c576e754 ("ftrace: Add support for function argument to graph tracer") Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions