<font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I ran a command that included an error,
and noticed that 'lttng' mentions -j in --buffers-pid and --buffers-uid,
but nowhere else:</font>
<br>
<br><tt><font size=2># /usr/bin/lttng enable-channel -u
</font></tt>
<br><tt><font size=2>Error: Missing channel name.</font></tt>
<br>
<br><tt><font size=2>usage: lttng enable-channel NAME[,NAME2,...] (-u |
-k) [OPTIONS]</font></tt>
<br>
<br><tt><font size=2>Options:</font></tt>
<br><tt><font size=2> -h, --help
Show this help</font></tt>
<br><tt><font size=2> --list-options
Simple listing of options</font></tt>
<br><tt><font size=2> -s, --session NAME Apply
to session name</font></tt>
<br><tt><font size=2> -k, --kernel
Apply to the kernel tracer</font></tt>
<br><tt><font size=2> -u, --userspace
Apply to the user-space tracer</font></tt>
<br>
<br><tt><font size=2>Channel options:</font></tt>
<br><tt><font size=2> --discard
Discard event when buffers are full (default)</font></tt>
<br><tt><font size=2> --overwrite
Flight recorder mode</font></tt>
<br><tt><font size=2> --subbuf-size SIZE Subbuffer
size in bytes {+k,+M,+G}</font></tt>
<br><tt><font size=2>
(default UST uid:
131072, UST pid: 4096, kernel: 262144, metadata: 4096)</font></tt>
<br><tt><font size=2>
Rounded up to the
next power of 2.</font></tt>
<br><tt><font size=2> --num-subbuf NUM
Number of subbufers</font></tt>
<br><tt><font size=2>
(default UST uid:
4, UST pid: 4, kernel: 4, metadata: 2)</font></tt>
<br><tt><font size=2>
Rounded up to the
next power of 2.</font></tt>
<br><tt><font size=2> --switch-timer USEC Switch
timer interval in usec</font></tt>
<br><tt><font size=2>
(default UST uid:
0, UST pid: 0, kernel: 0, metadata: 0)</font></tt>
<br><tt><font size=2> --read-timer USEC Read
timer interval in usec.</font></tt>
<br><tt><font size=2>
(default UST uid:
0, UST pid: 0, kernel: 200000, metadata: 0)</font></tt>
<br><tt><font size=2> --output TYPE
Channel output type (Values: mmap, splice)</font></tt>
<br><tt><font size=2>
(default UST uid:
mmap, UST pid: mmap, kernel: splice, metadata: mmap)</font></tt>
<br><tt><font size=2> --buffers-uid
Use per UID buffer (-u/-j only)</font></tt>
<br><tt><font size=2> --buffers-pid
Use per PID buffer (-u/-j only)</font></tt>
<br><tt><font size=2> --buffers-global
Use shared buffer for the whole system (-k only)</font></tt>
<br><tt><font size=2> -C, --tracefile-size SIZE</font></tt>
<br><tt><font size=2>
Maximum size of each tracefile
within a stream (in bytes). 0 means unlimited.</font></tt>
<br><tt><font size=2>
(default: 0)</font></tt>
<br><tt><font size=2> -W, --tracefile-count COUNT</font></tt>
<br><tt><font size=2>
Used in conjunction with -C option,
this will limit the number</font></tt>
<br><tt><font size=2>
of files created to the specified
count. 0 means unlimited.</font></tt>
<br><tt><font size=2>
(default: 0)</font></tt>
<br>
<br><tt><font size=2>Error: Command error</font></tt>
<br>
<br><font size=2 face="sans-serif">You can see these 2 lines:</font>
<br>
<br><tt><font size=2> --buffers-uid
Use per UID buffer (-u/-j only)</font></tt>
<br><tt><font size=2> --buffers-pid
Use per PID buffer (-u/-j only)</font></tt>
<br>
<br><font size=2 face="sans-serif">But -j is not explained above.</font>
<br>
<br><font size=2 color=#000080 face="sans-serif">Amit Margalit</font>
<br><font size=2 color=#808000 face="sans-serif">IBM XIV </font><font size=2 face="sans-serif">-
<i>Storage Reinvented</i></font>
<br><font size=2 face="sans-serif">XIV-NAS Development Team</font>
<br><font size=2 face="sans-serif">Tel. 03</font><font size=2 face="Arial">-689-7774</font>
<br><font size=2 face="Arial">Fax. 03-689-7230</font>