Skip to content

tracing: Add new filesystem tracefs

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tracing: Only create tracer options files if directory existskernel/trace/trace.c+5 -20 replies
2/7tracing: Create cmdline tracer options on tracing fs initkernel/trace/trace.c+21 -90 replies
3/7tracefs: Add new tracefs file systemfs/Makefile fs/tracefs/Makefile fs/tracefs/inode.c +2 more+570 -02 replies
4/7tracing: Convert the tracing facility over to use tracefskernel/trace/ftrace.c kernel/trace/trace.c kernel/trace/trace.h +5 more+74 -660 replies
5/7tracing: Automatically mount tracefs on debugfs/tracingkernel/trace/trace.c+33 -32 replies
6/7tracefs: Add directory /sys/kernel/tracingfs/tracefs/inode.c+7 -00 replies
7/7tracing: Have mkdir and rmdir be part of tracefsfs/tracefs/inode.c include/linux/tracefs.h kernel/trace/trace.c+145 -852 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/7
2/7
3/7
4/7
5/7
6/7A-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [for-next][PATCH 0/7] tracing: Add new filesystem tracefs

Al,

I know that you do not like the releasing of the parent i_mutex lock. But it is no different than what we do today, except that we move the release out of the tracing code and into the tracefs code.

This still gives us the separate tracefs filesystem that will let users mount it without needing to mount debugfs, so I want to get this into 3.20.

These are the patches that I plan on submitting, and will soon be adding to my linux-next branch, to be included in linux-next.

-- Steve

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
ftrace/tracefs

Head SHA1: eae473581cf93dad94ca833aa961c033c6a43924

Steven Rostedt (Red Hat) (7):
tracing: Only create tracer options files if directory exists
tracing: Create cmdline tracer options on tracing fs init
tracefs: Add new tracefs file system
tracing: Convert the tracing facility over to use tracefs
tracing: Automatically mount tracefs on debugfs/tracing
tracefs: Add directory /sys/kernel/tracing
tracing: Have mkdir and rmdir be part of tracefs

----

 fs/Makefile                          |   1 +
 fs/tracefs/Makefile                  |   4 +
 fs/tracefs/inode.c                   | 650 +++++++++++++++++++++++++++++++++++
 include/linux/tracefs.h              |  45 +++
 include/uapi/linux/magic.h           |   2 +
 kernel/trace/ftrace.c                |  22 +-
 kernel/trace/trace.c                 | 187 +++++-----
 kernel/trace/trace.h                 |   2 +-
 kernel/trace/trace_events.c          |  32 +-
 kernel/trace/trace_functions_graph.c |   7 +-
 kernel/trace/trace_kprobe.c          |  10 +-
 kernel/trace/trace_probe.h           |   2 +-
 kernel/trace/trace_stat.c            |  10 +-
 13 files changed, 832 insertions(+), 142 deletions(-)