Fix: procname context semantic
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Oct 2012 13:04:14 +0000 (09:04 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Oct 2012 13:04:14 +0000 (09:04 -0400)
commit009745db8ca05f7a3abbb37558b08eae0107f7e1
tree549f58242e4820d797061df7e910ccd5c8184cd8
parent3fd2b913de202024760fc6d804510cd61760198f
Fix: procname context semantic

Cache the procname per-thread rather than per-process to take into
account that prctl() can be used to set thread names.

prctl() should be issued before tracing each thread's first event if we
care about the thread name.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/ltt-tracer-core.h
liblttng-ust/lttng-context-procname.c
liblttng-ust/lttng-ust-comm.c
This page took 0.024683 seconds and 4 git commands to generate.