aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaibhav Nagarnaik <vnagarnaik@google.com>2011-08-11 15:37:39 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-08-18 21:38:33 -0400
commit3e0384adb82e8d226c8cc6a976901cf67ec260d3 (patch)
tree00a56f46d2453ecba37b92e5f503886c995165d1
parent2f9502685d7938128e51b13154fc8a84b80d3fb6 (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.txt45
-rw-r--r--Documentation/trace-cmd-report.1.txt5
-rw-r--r--Documentation/trace-cmd.1.txt9
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 @@
1TRACE-CMD-CHECK_EVENTS(1)
2=========================
3
4NAME
5----
6trace-cmd-check-events - parse the event formats on local system
7
8SYNOPSIS
9--------
10*trace-cmd check-events* ['OPTIONS']
11
12DESCRIPTION
13-----------
14The trace-cmd(1) check-events parses format strings for all the events on the
15local system. It returns whether all the format strings can be parsed
16correctly. It will load plugins unless specified otherwise.
17
18This is useful to check for any trace event format strings which may contain
19some internal kernel function references which cannot be decoded outside of
20the kernel. This may mean that either the unparsed format strings of the trace
21events need to be changed or that a plugin needs to be created to parse them.
22
23OPTIONS
24-------
25*-N* - Don't load plugins
26
27SEE ALSO
28--------
29trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-stop(1),
30trace-cmd-extract(1), trace-cmd-reset(1), trace-cmd-split(1),
31trace-cmd-list(1), trace-cmd-listen(1), trace-cmd-start(1)
32
33AUTHOR
34------
35Written by Vaibhav Nagarnaik, <vnagarnaik@google.com>
36
37RESOURCES
38---------
39git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
40
41COPYING
42-------
43Copyright \(C) 2011 Google, Inc. Free use of this software is granted under
44the 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
52OPTIONS 55OPTIONS
53------- 56-------
54 57
55*-h, --help:: 58*-h*, --help::
56 Displace the help text. 59 Display the help text.
57 60
58Other options see the man page for the corresponding command. 61Other 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),
63trace-cmd-stop(1), trace-cmd-extract(1), trace-cmd-reset(1), 66trace-cmd-stop(1), trace-cmd-extract(1), trace-cmd-reset(1),
64trace-cmd-restore(1), trace-cmd-stack(1), 67trace-cmd-restore(1), trace-cmd-stack(1),
65trace-cmd-split(1), trace-cmd-list(1), trace-cmd-listen(1), 68trace-cmd-split(1), trace-cmd-list(1), trace-cmd-listen(1),
66trace-cmd.dat(5) 69trace-cmd.dat(5), trace-cmd-check-events(1)
67 70
68AUTHOR 71AUTHOR
69------ 72------