tracing: Add per_cpu directory into tracing instances
authorSteven Rostedt (Red Hat) <srostedt@redhat.com>
Wed, 6 Mar 2013 02:52:25 +0000 (21:52 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:35:50 +0000 (00:35 -0400)
commit121aaee7b0a82605d33af200c7e9ebab6fd6e444
treeaae2624780787bf1f2cf0c35a22b08fab0cf4f4a
parentce9bae55972b228cf7bac34350c4d2caf8ea0d0b
tracing: Add per_cpu directory into tracing instances

Add the per_cpu directory to the created tracing instances:

  cd /sys/kernel/debug/tracing/instances
  mkdir foo
  ls foo/per_cpu/cpu0
buffer_size_kb snapshot_raw  trace   trace_pipe_raw
snapshot stats       trace_pipe

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c