lkml.org 
[lkml]   [2012]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH v3 -tip 0/4] tracing: make a snapshot feature available from userspace
From
Date
Hi, Steven,

Thank you for your review.
I applied your review comments.

These patches depend on the next patch.

tracing: Add a resize function to make one buffer equivalent to another buffer
http://lkml.kernel.org/r/20121017025616.2627.91226.stgit@falsita

v2->v3:
[1/4] tracing: add checks if tr->buffer is NULL in tracing_reset{_online_cpus}
- (new patch)
[2/4] tracing: replace static old_tracer with strcmp
- (new patch)
[3/4] tracing: make a snapshot feature available from userspace
- changed snapshot file I/F (removed "snapshot_allocate")
- changed CONFIG_TRACER_SNAPSHOT's location and description
- changed an integer flag of __tracing_open() to bool
- switched to use seq_read() directly for reading snapshot
[4/4] tracing: add description of snapshot to Documentation/trace/ftrace.txt
- updated documentation of the snapshot

ToDo:
- adding "trace_snapshot" kernel parameter to allocate spare buffer on boot.

(v1: https://lkml.org/lkml/2012/10/2/67)
(v2: https://lkml.org/lkml/2012/10/16/585)

---

Hiraku Toyooka (4):
tracing: add checks if tr->buffer is NULL in tracing_reset{_online_cpus}
tracing: replace static old_tracer with strcmp
tracing: make a snapshot feature available from userspace
tracing: add description of snapshot to Documentation/trace/ftrace.txt


Documentation/trace/ftrace.txt | 83 +++++++++++++++++++++
include/linux/ftrace_event.h | 3 +
kernel/trace/Kconfig | 10 +++
kernel/trace/trace.c | 158 ++++++++++++++++++++++++++++++++++------
kernel/trace/trace.h | 1
5 files changed, 231 insertions(+), 24 deletions(-)

--
Hiraku TOYOOKA
Linux Technology Center
Yokohama Research Laboratory
Hitachi Ltd.


\
 
 \ /
  Last update: 2012-12-19 08:41    [W:1.507 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site