| 1 | .TH "BABELTRACE" "1" "February 6, 2012" "" "" |
| 2 | |
| 3 | .SH "NAME" |
| 4 | babeltrace \(em Babeltrace Trace Viewer and Converter |
| 5 | |
| 6 | .SH "SYNOPSIS" |
| 7 | |
| 8 | .PP |
| 9 | .nf |
| 10 | babeltrace [OPTIONS] FILE... |
| 11 | .fi |
| 12 | .SH "DESCRIPTION" |
| 13 | |
| 14 | .PP |
| 15 | Babeltrace is a trace viewer and converter reading and writing the |
| 16 | Common Trace Format (CTF). Its main use is to pretty-print CTF traces |
| 17 | into a human-readable text output ordered by time. |
| 18 | |
| 19 | .PP |
| 20 | This program follow the usual GNU command line syntax with long options |
| 21 | starting with two dashes. Below is a summary of the available options. |
| 22 | .PP |
| 23 | |
| 24 | .TP |
| 25 | .BR "FILE" |
| 26 | Input trace FILE(s) or directory(ies) |
| 27 | .TP |
| 28 | .BR "-w, --output OUTPUT" |
| 29 | Output trace path (default: stdout) |
| 30 | .TP |
| 31 | .BR "-i, --input-format FORMAT" |
| 32 | Input trace format (default: ctf). CTF is currently the only supported input format. |
| 33 | .TP |
| 34 | .BR "-o, --output-format FORMAT" |
| 35 | Output trace format (default: text) |
| 36 | .TP |
| 37 | .BR "-h, --help" |
| 38 | This help message |
| 39 | .TP |
| 40 | .BR "-l, --list" |
| 41 | List available formats |
| 42 | .TP |
| 43 | .BR "-v, --verbose" |
| 44 | Verbose mode (or set BABELTRACE_VERBOSE environment variable) |
| 45 | .TP |
| 46 | .BR "-d, --debug" |
| 47 | Debug mode (or set BABELTRACE_DEBUG environment variable) |
| 48 | .TP |
| 49 | .BR "--no-delta" |
| 50 | Do not print time delta between consecutive events |
| 51 | .TP |
| 52 | .BR "-n, --names name1<,name2,...>" |
| 53 | Print field names: (payload OR args OR arg), none, all, scope, header, |
| 54 | (context OR ctx), (default: payload,context). |
| 55 | .TP |
| 56 | .BR "-f, --fields name1<,name2,...>" |
| 57 | Print additional fields: all, trace, trace:hostname, trace:domain, |
| 58 | trace:procname, trace:vpid, loglevel. |
| 59 | .TP |
| 60 | .BR "--clock-raw" |
| 61 | Disregard internal clock offset (use raw value) |
| 62 | .TP |
| 63 | .BR "--clock-offset seconds" |
| 64 | Clock offset in seconds |
| 65 | .TP |
| 66 | .BR "--clock-seconds" |
| 67 | Print the timestamps as [sec.ns] (default is: [hh:mm:ss.ns]) |
| 68 | .TP |
| 69 | .BR "--clock-date" |
| 70 | Print clock date |
| 71 | .TP |
| 72 | .BR "--clock-gmt" |
| 73 | Print clock in GMT time zone (default: local time zone) |
| 74 | .TP |
| 75 | .BR "--stream-intersection" |
| 76 | Only print events when all streams are active |
| 77 | .TP |
| 78 | .BR "--debug-info-dir" |
| 79 | Directory in which to look for debugging information files (default: /usr/lib/debug/) |
| 80 | .TP |
| 81 | .BR "--debug-info-target-prefix" |
| 82 | Directory to use as a prefix for executable lookup |
| 83 | .TP |
| 84 | .BR "--debug-info-full-path" |
| 85 | Show full debug info source and binary paths (if available) |
| 86 | .TP |
| 87 | |
| 88 | .fi |
| 89 | Formats available: ctf, dummy, text. |
| 90 | |
| 91 | .SH "ENVIRONMENT VARIABLES" |
| 92 | |
| 93 | .PP |
| 94 | Note that all command line options will override environmenal variables. |
| 95 | .PP |
| 96 | |
| 97 | .PP |
| 98 | .IP "BABELTRACE_VERBOSE" |
| 99 | Activate verbose Babeltrace output. |
| 100 | .PP |
| 101 | .IP "BABELTRACE_DEBUG" |
| 102 | Activate debug Babeltrace output. |
| 103 | |
| 104 | .SH "SEE ALSO" |
| 105 | |
| 106 | .PP |
| 107 | babeltrace-log(1), lttng(1), lttng-ust(3), lttng-sessiond(8) |
| 108 | .PP |
| 109 | .SH "BUGS" |
| 110 | |
| 111 | .PP |
| 112 | The lttng-live plugin does not honor the the "--output" command line |
| 113 | option. |
| 114 | |
| 115 | If you encounter any issues or usability problem, please report it on |
| 116 | our mailing list <lttng-dev@lists.lttng.org> to help improve this |
| 117 | project. |
| 118 | .SH "CREDITS" |
| 119 | |
| 120 | Babeltrace and the babeltrace library are distributed under the MIT |
| 121 | license. See the files LICENSE and mit-license.txt for details. |
| 122 | .PP |
| 123 | A Web site is available at http://www.efficios.com/babeltrace for more |
| 124 | information on Babeltrace and the Common Trace Format. See |
| 125 | http://lttng.org for more information on the LTTng project. |
| 126 | .PP |
| 127 | Mailing list for support and development: <lttng-dev@lists.lttng.org>. |
| 128 | .PP |
| 129 | You can find us on IRC server irc.oftc.net (OFTC) in #lttng. |
| 130 | .PP |
| 131 | .SH "THANKS" |
| 132 | |
| 133 | Thanks to the Linux Foundation and Ericsson for funding part of this |
| 134 | work. Thanks to the Multicore Association Tool Infrastructure Working |
| 135 | Group for their active role in the creation of the Common Trace Format. |
| 136 | .PP |
| 137 | .SH "AUTHORS" |
| 138 | |
| 139 | .PP |
| 140 | Babeltrace was originally written by Mathieu Desnoyers, with additional |
| 141 | contributions from various other people. It is currently maintained by |
| 142 | Mathieu Desnoyers <mathieu.desnoyers@efficios.com>. |
| 143 | .PP |