aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/xentrace_format.1
diff options
context:
space:
mode:
authormwilli2@equilibrium.research.intel-research.net <mwilli2@equilibrium.research.intel-research.net>2004-03-11 19:55:00 +0000
committermwilli2@equilibrium.research.intel-research.net <mwilli2@equilibrium.research.intel-research.net>2004-03-11 19:55:00 +0000
commit578734ab97aeef213ceabd85ac7984ce029706b3 (patch)
tree46d4d3e261321fbcc8d0128e5c3cece65d1e2aec /tools/xentrace/xentrace_format.1
parent76fff2563fe96d97805f9873334a69122a1406f2 (diff)
downloadxen-578734ab97aeef213ceabd85ac7984ce029706b3.tar.gz
xen-578734ab97aeef213ceabd85ac7984ce029706b3.tar.bz2
xen-578734ab97aeef213ceabd85ac7984ce029706b3.zip
bitkeeper revision 1.784 (4050c414tIvxGfQ8IUNIXoAjpoXBVA)
Updated script names and added man pages for all the xentrace tools.
Diffstat (limited to 'tools/xentrace/xentrace_format.1')
-rw-r--r--tools/xentrace/xentrace_format.138
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/xentrace/xentrace_format.1 b/tools/xentrace/xentrace_format.1
new file mode 100644
index 0000000000..ef08224d9e
--- /dev/null
+++ b/tools/xentrace/xentrace_format.1
@@ -0,0 +1,38 @@
+.TH XENTRACE_FORMAT 1 "11 March 2004" "Xen domain 0 utils"
+.SH NAME
+xentrace_format \- pretty-print Xen trace data
+.SH SYNOPSIS
+.B xentrace_format
+[
+.I DEFS-FILE
+]
+.SH DESCRIPTION
+.B xentrace_format
+parses trace data from standard input and reformats it according to
+the rules in a file of definitions (\fIDEFS-FILE\fP), printing to
+standard output.
+
+The rules in \fIDEFS-FILE\fP should have the format shown below:
+
+\fIevent_id\fP \fIwhitespace\fP \fIformat\fP
+
+Each rule should start on a new line.
+
+The format string may include the following format specifiers:
+%(cpu)s, %(tsc), %(event)s, %(1)s, %(2)s, %(3)s, %(4)s, %(5)s
+
+These correspond to the CPU number, event ID, timestamp counter and
+the 5 data fields from the trace record. There should be one such
+rule for each type of event to be pretty-printed (events which do not
+have formatting rules are ignored).
+
+Depending on your system and the rate at which trace data is produced,
+this script may not be able to keep up with the output of
+\fBxentrace\fP if it is piped directly. In these circumstances you
+should have \fBxentrace\fP output to a file for processing off-line.
+
+.SH AUTHOR
+Mark A. Williamson <mark.a.williamson@intel.com>
+
+.SH "SEE ALSO"
+xentrace(8), xentrace_cpusplit(1)