diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-01-28 11:57:57 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-01-28 11:57:57 -0500 |
commit | bcbd6328047704b2d7e1f5c0246f2dc47406d1cb (patch) | |
tree | 85a4a7a850dc5de8d6778714e474c38d32e39cc2 /Documentation | |
parent | 0d8c0ce5775fc3fa11170cfe560afae2ae9e50e2 (diff) |
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.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/trace-cmd-restore.1.txt b/Documentation/trace-cmd-restore.1.txt index 6fd6ba4..290b0ac 100644 --- a/Documentation/trace-cmd-restore.1.txt +++ b/Documentation/trace-cmd-restore.1.txt | |||
@@ -42,6 +42,21 @@ OPTIONS | |||
42 | 'trace-partial.dat'. This is because the file is not a full version | 42 | 'trace-partial.dat'. This is because the file is not a full version |
43 | of something that trace-cmd-report(1) could use. | 43 | of something that trace-cmd-report(1) could use. |
44 | 44 | ||
45 | *-t* tracing_dir:: | ||
46 | Used with *-c*, it overrides the location to read the events from. | ||
47 | By default, tracing information is read from the debugfs/tracing | ||
48 | directory. *-t* will use that location instead. This can be useful | ||
49 | if the trace.dat file to create is from another machine. | ||
50 | Just tar -cvf events.tar debugfs/tracing and copy and untar that | ||
51 | file locally, and use that directory instead. | ||
52 | |||
53 | *-k* kallsyms:: | ||
54 | Used with *-c*, it overrides where to read the kallsyms file from. | ||
55 | By default, /proc/kallsyms is used. *-k* will override the file to | ||
56 | read the kallsyms from. This can be useful if the trace.dat file | ||
57 | to create is from another machine. Just copy the /proc/kallsyms | ||
58 | file locally, and use *-k* to point to that file. | ||
59 | |||
45 | *-o* output':: | 60 | *-o* output':: |
46 | By default, trace-cmd restore will create a 'trace.dat' file | 61 | By default, trace-cmd restore will create a 'trace.dat' file |
47 | (or 'trace-partial.dat' if *-c* is specified). You can | 62 | (or 'trace-partial.dat' if *-c* is specified). You can |