diff options
| author | Ilya Leoshkevich <[email protected]> | 2025-04-12 22:10:43 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-04-17 19:19:15 +0000 |
| commit | 3b4e87e6a593d571183c414d81758624da01f2b9 (patch) | |
| tree | 745f6db2a7932274e998b65f9973105b44d79558 /rust/helpers/build_bug.c | |
| parent | ftrace: fix incorrect hash size in register_ftrace_direct() (diff) | |
| download | kernel-3b4e87e6a593d571183c414d81758624da01f2b9.tar.gz kernel-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 <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Alexander Gordeev <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: ff5c9c576e75 ("ftrace: Add support for function argument to graph tracer")
Signed-off-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
