ftrace: Expose call graph depth as unsigned int
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v11 patch 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ftrace: Fix type of ftrace_graph_ent_entry.depthkernel/ | +2 | 0 replies | |
| 2/2 | ftrace: Expose call graph depth as unsigned intkernel/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] ftrace: Expose call graph depth as unsigned int
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(-)
Signature · 1 line
2.49.0