Skip to content

ftrace: [BUGFIX] type of ring_buffer_oldest_event_ts() and showing of stats per cpu directory

Yoshihiro YUNOMAE lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ftrace: Change unsigned long type of ring_buffer_oldest_event_ts() to u64include/linux/ring_buffer.h kernel/trace/ring_buffer.c+3 -30 replies
2/2ftrace: Show raw time stamp on stats per cpu using counter or tsc mode for trace_clockkernel/trace/trace.c+17 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ftrace: [BUGFIX] type of ring_buffer_oldest_event_ts() and showing of stats per cpu directory

The following patch set fixes two bugs for ftrace.

[1/2]
This patch fixes type mismatch of ring_buffer_oldest_event_ts().

[2/2]
This fixes showing of stats per cpu directory for ftrace using counter or tsc as a time stamp. This patch depends on David's patch series
(https://lkml.org/lkml/2012/10/1/652), but this bug already exists in the counter mode.

Thank you,

---

Yoshihiro YUNOMAE (2):
ftrace: Show raw time stamp on stats per cpu using counter or tsc mode for trace_clock
ftrace: Change unsigned long type of ring_buffer_oldest_event_ts() to u64

 include/linux/ring_buffer.h |    2 +-
 kernel/trace/ring_buffer.c  |    4 ++--
 kernel/trace/trace.c        |   23 +++++++++++++++++------
 3 files changed, 20 insertions(+), 9 deletions(-)
Signature · 4 lines
Yoshihiro YUNOMAE
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: [email protected]