Fix: take session list lock when listing tp
authorDavid Goulet <dgoulet@efficios.com>
Fri, 28 Mar 2014 13:58:03 +0000 (09:58 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 1 Apr 2014 14:55:17 +0000 (10:55 -0400)
commitae7f78f3ce5a2df716bc3e6bcea45bff0b85df0b
tree4d727b90a632d8c54473c8dbfb52f84ad4957702
parent2e4e8c2d5207b86e35092e7b6ee3b0d1463138b1
Fix: take session list lock when listing tp

This is important since the list tracepoints command access the
application socket to ask the application for its TPs. The session list
lock protects the ordering of message for those sockets.

This was triggering out of order message between the session daemon and
an application thus triggering undefined behavior.

Fixes #774

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.028632 seconds and 4 git commands to generate.