v1: https://lore.kernel.org/lkml/[email protected]/ v1 -> v2: Use unsigned int instead of int. Add a follow-up patch that changes depth to unsigned int in all events.
Hi, This series changes the type of depth in all call graph events to unsigned int. Patch 1 fixes a size mismatch issue in ftrace_graph_ent_entry, which causes trace-cmd on 64-bit big-endian systems to output a lot of bogus spaces, rendering it unusable. Patch 2 changes type of depth in all other events to unsigned int in order to better reflect its semantics: it can only be negative internally, but recorded values are always non-negative. Best regards, Ilya Ilya Leoshkevich (2): ftrace: Fix type of ftrace_graph_ent_entry.depth ftrace: Expose call graph depth as unsigned int kernel/trace/trace_entries.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.49.0
