aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-01-28 11:57:57 -0500
committerSteven Rostedt <rostedt@goodmis.org>2011-01-28 11:57:57 -0500
commitbcbd6328047704b2d7e1f5c0246f2dc47406d1cb (patch)
tree85a4a7a850dc5de8d6778714e474c38d32e39cc2 /Documentation
parent0d8c0ce5775fc3fa11170cfe560afae2ae9e50e2 (diff)
downloadkernel-shark-bcbd6328047704b2d7e1f5c0246f2dc47406d1cb.tar.gz
trace-cmd/restore: Allow override where debugfs/tracing and kallsyms come from
Add to trace-cmd restore: -t dir: where dir is the directory to search instead of looking at debugfs/tracing -k file: where to read kallsyms from, instead of reading /proc/kallsyms Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/trace-cmd-restore.1.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/trace-cmd-restore.1.txt b/Documentation/trace-cmd-restore.1.txt
index 6fd6ba43..290b0acd 100644
--- a/Documentation/trace-cmd-restore.1.txt
+++ b/Documentation/trace-cmd-restore.1.txt
@@ -42,6 +42,21 @@ OPTIONS
'trace-partial.dat'. This is because the file is not a full version
of something that trace-cmd-report(1) could use.
+*-t* tracing_dir::
+ Used with *-c*, it overrides the location to read the events from.
+ By default, tracing information is read from the debugfs/tracing
+ directory. *-t* will use that location instead. This can be useful
+ if the trace.dat file to create is from another machine.
+ Just tar -cvf events.tar debugfs/tracing and copy and untar that
+ file locally, and use that directory instead.
+
+*-k* kallsyms::
+ Used with *-c*, it overrides where to read the kallsyms file from.
+ By default, /proc/kallsyms is used. *-k* will override the file to
+ read the kallsyms from. This can be useful if the trace.dat file
+ to create is from another machine. Just copy the /proc/kallsyms
+ file locally, and use *-k* to point to that file.
+
*-o* output'::
By default, trace-cmd restore will create a 'trace.dat' file
(or 'trace-partial.dat' if *-c* is specified). You can