diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2025-04-13 00:10:43 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-04-17 15:19:15 -0400 |
commit | 3b4e87e6a593d571183c414d81758624da01f2b9 (patch) | |
tree | 745f6db2a7932274e998b65f9973105b44d79558 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 92f1d3b40179b15630d72e2c6e4e25a899b67ba9 (diff) | |
download | linux-3b4e87e6a593d571183c414d81758624da01f2b9.tar.gz linux-3b4e87e6a593d571183c414d81758624da01f2b9.tar.bz2 linux-3b4e87e6a593d571183c414d81758624da01f2b9.zip |
ftrace: Fix type of ftrace_graph_ent_entry.depth
ftrace_graph_ent.depth is int, but ftrace_graph_ent_entry.depth is
unsigned long. This confuses trace-cmd on 64-bit big-endian systems and
makes it print a huge amount of spaces. Fix this by using unsigned int,
which has a matching size, instead.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/20250412221847.17310-2-iii@linux.ibm.com
Fixes: ff5c9c576e75 ("ftrace: Add support for function argument to graph tracer")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions