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:14 +0000 (10:55 -0400)
commita5b55f387c87048e4154fff9ed58124ae860a9c7
tree797005ad5c314b85122c299faa514e77cd6d85de
parent1bed03a237e1ee53b0ead2acb9a1c0a9065bdaf4
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.02495 seconds and 4 git commands to generate.