Manpage: document supported UST contexts
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Oct 2012 13:04:32 +0000 (09:04 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Oct 2012 13:04:32 +0000 (09:04 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/man/lttng-ust.3

index c6f1935c98a383e4e666ad6962796f0a799ca2f0..818ef103ae407498c133ba9e64580595f3b47254 100644 (file)
@@ -304,6 +304,38 @@ LD_PRELOAD=liblttng-ust-fork.so appname).
 
 .fi
 
+.SH "CONTEXT"
+
+.PP
+Context information can be prepended by the tracer before each, or some,
+events. The following context information is supported by LTTng-UST:
+.PP
+
+.PP
+.IP "vtid"
+Virtual thread ID: thread ID as seen from the point of view of the
+process namespace.
+.PP
+
+.PP
+.IP "vpid"
+Virtual process ID: process ID as seen from the point of view of the
+process namespace.
+.PP
+
+.PP
+.IP "procname"
+Thread name, as set by exec() or prctl(). It is recommended that
+programs set their thread name with prctl() before hitting the first
+tracepoint for that thread.
+.PP
+
+.PP
+.IP "pthread_id"
+Pthread identifier. Can be used on architectures where pthread_t maps
+nicely to an unsigned long type.
+.PP
+
 .SH "ENVIRONMENT VARIABLES"
 
 .PP
This page took 0.026257 seconds and 4 git commands to generate.