Allocate session UID with count increment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Nov 2011 15:55:25 +0000 (16:55 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Nov 2011 15:55:25 +0000 (16:55 +0100)
commit44e96653751b3d75c823abc6275d8e732738c789
treee2b593cf3da2d252751d0b0240f2c9c3b204769e
parentb09f0429fe3d8f7f8811abd05b576a35c25de76a
Allocate session UID with count increment

Otherwise, the UST session UID gets assigned only when the first UST
channel is created for a session, causing IDs to be used for many
sessions (the count of the number of sessions allocated so far) if the
session creation / channel creation is not performed in a usual
sequence.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-sessiond/main.c
lttng-sessiond/session.c
lttng-sessiond/session.h
This page took 0.025075 seconds and 4 git commands to generate.