ftrace: Expose call graph depth as unsigned int
authorIlya Leoshkevich <iii@linux.ibm.com>
Sat, 12 Apr 2025 22:10:44 +0000 (00:10 +0200)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 8 May 2025 13:36:08 +0000 (09:36 -0400)
commit761ef34228222686f9f8c5fccd258e17a0c3d6de
tree1913f259cef97968d74e591e3c16467efec2adec
parent88cefd99ee265b18f851b911a75282146ecabc3d
ftrace: Expose call graph depth as unsigned int

Depth is stored as int because the code uses negative values to break
out of iterations. But what is recorded is always zero or positive. So
expose it as unsigned int instead of int.

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-3-iii@linux.ibm.com
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_entries.h