diff options
author | Vaibhav Nagarnaik <vnagarnaik@google.com> | 2011-08-11 15:37:39 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-08-18 21:38:33 -0400 |
commit | 3e0384adb82e8d226c8cc6a976901cf67ec260d3 (patch) | |
tree | 00a56f46d2453ecba37b92e5f503886c995165d1 | |
parent | 2f9502685d7938128e51b13154fc8a84b80d3fb6 (diff) |
trace-cmd: Update man pages for 'check-events' option
There is a new option added to the 'report' target to check event
formats of the events recorded in a trace data file. This patch updates
the documentation in the man page.
This patch also adds a new man page for 'check-events' target which
verifies event formats on the local machine.
Cc: Michael Rubin <mrubin@google.com>
Cc: David Sharp <dhsharp@google.com>
Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com>
Link: http://lkml.kernel.org/r/1313091459-12049-5-git-send-email-vnagarnaik@google.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | Documentation/trace-cmd-check-events.1.txt | 45 | ||||
-rw-r--r-- | Documentation/trace-cmd-report.1.txt | 5 | ||||
-rw-r--r-- | Documentation/trace-cmd.1.txt | 9 |
3 files changed, 56 insertions, 3 deletions
diff --git a/Documentation/trace-cmd-check-events.1.txt b/Documentation/trace-cmd-check-events.1.txt new file mode 100644 index 0000000..73ec1a8 --- /dev/null +++ b/Documentation/trace-cmd-check-events.1.txt | |||
@@ -0,0 +1,45 @@ | |||
1 | TRACE-CMD-CHECK_EVENTS(1) | ||
2 | ========================= | ||
3 | |||
4 | NAME | ||
5 | ---- | ||
6 | trace-cmd-check-events - parse the event formats on local system | ||
7 | |||
8 | SYNOPSIS | ||
9 | -------- | ||
10 | *trace-cmd check-events* ['OPTIONS'] | ||
11 | |||
12 | DESCRIPTION | ||
13 | ----------- | ||
14 | The trace-cmd(1) check-events parses format strings for all the events on the | ||
15 | local system. It returns whether all the format strings can be parsed | ||
16 | correctly. It will load plugins unless specified otherwise. | ||
17 | |||
18 | This is useful to check for any trace event format strings which may contain | ||
19 | some internal kernel function references which cannot be decoded outside of | ||
20 | the kernel. This may mean that either the unparsed format strings of the trace | ||
21 | events need to be changed or that a plugin needs to be created to parse them. | ||
22 | |||
23 | OPTIONS | ||
24 | ------- | ||
25 | *-N* - Don't load plugins | ||
26 | |||
27 | SEE ALSO | ||
28 | -------- | ||
29 | trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-stop(1), | ||
30 | trace-cmd-extract(1), trace-cmd-reset(1), trace-cmd-split(1), | ||
31 | trace-cmd-list(1), trace-cmd-listen(1), trace-cmd-start(1) | ||
32 | |||
33 | AUTHOR | ||
34 | ------ | ||
35 | Written by Vaibhav Nagarnaik, <vnagarnaik@google.com> | ||
36 | |||
37 | RESOURCES | ||
38 | --------- | ||
39 | git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git | ||
40 | |||
41 | COPYING | ||
42 | ------- | ||
43 | Copyright \(C) 2011 Google, Inc. Free use of this software is granted under | ||
44 | the terms of the GNU Public License (GPL). | ||
45 | |||
diff --git a/Documentation/trace-cmd-report.1.txt b/Documentation/trace-cmd-report.1.txt index 9c9a8e7..6b1cebe 100644 --- a/Documentation/trace-cmd-report.1.txt +++ b/Documentation/trace-cmd-report.1.txt | |||
@@ -41,6 +41,11 @@ OPTIONS | |||
41 | *--events*:: | 41 | *--events*:: |
42 | This will list the event formats that are stored in the trace.dat file. | 42 | This will list the event formats that are stored in the trace.dat file. |
43 | 43 | ||
44 | *--check-events*:: | ||
45 | This will parse the event format strings that are stored in the trace.dat | ||
46 | file and return whether the formats can be parsed correctly. It will load | ||
47 | plugins unless *-N* is specified. | ||
48 | |||
44 | *-F* 'filter':: | 49 | *-F* 'filter':: |
45 | Add a filter to limit what events are displayed. The format of the filter | 50 | Add a filter to limit what events are displayed. The format of the filter |
46 | is: | 51 | is: |
diff --git a/Documentation/trace-cmd.1.txt b/Documentation/trace-cmd.1.txt index f416b74..a34b39b 100644 --- a/Documentation/trace-cmd.1.txt +++ b/Documentation/trace-cmd.1.txt | |||
@@ -49,11 +49,14 @@ COMMANDS | |||
49 | 49 | ||
50 | stack - run and display the stack tracer | 50 | stack - run and display the stack tracer |
51 | 51 | ||
52 | check-events - parse format strings for all trace events and return | ||
53 | whether all formats are parseable | ||
54 | |||
52 | OPTIONS | 55 | OPTIONS |
53 | ------- | 56 | ------- |
54 | 57 | ||
55 | *-h, --help:: | 58 | *-h*, --help:: |
56 | Displace the help text. | 59 | Display the help text. |
57 | 60 | ||
58 | Other options see the man page for the corresponding command. | 61 | Other options see the man page for the corresponding command. |
59 | 62 | ||
@@ -63,7 +66,7 @@ trace-cmd-record(1), trace-cmd-report(1), trace-cmd-start(1), | |||
63 | trace-cmd-stop(1), trace-cmd-extract(1), trace-cmd-reset(1), | 66 | trace-cmd-stop(1), trace-cmd-extract(1), trace-cmd-reset(1), |
64 | trace-cmd-restore(1), trace-cmd-stack(1), | 67 | trace-cmd-restore(1), trace-cmd-stack(1), |
65 | trace-cmd-split(1), trace-cmd-list(1), trace-cmd-listen(1), | 68 | trace-cmd-split(1), trace-cmd-list(1), trace-cmd-listen(1), |
66 | trace-cmd.dat(5) | 69 | trace-cmd.dat(5), trace-cmd-check-events(1) |
67 | 70 | ||
68 | AUTHOR | 71 | AUTHOR |
69 | ------ | 72 | ------ |