Remove session list lock acquisition of the search
authorDavid Goulet <david.goulet@polymtl.ca>
Tue, 4 Oct 2011 20:24:10 +0000 (16:24 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Tue, 4 Oct 2011 20:24:10 +0000 (16:24 -0400)
commit74babd95d68f4d871d66f3988b84e04c963d0162
treed485e94030eb91c3ee853344c96b9d82b14e4f9a
parent133842876fe8a87ba184c9ac2b6e004eb388fb73
Remove session list lock acquisition of the search

The lock/unlock of the session list in the find session by name function
is removed thus the caller must held the lock before calling that search
function.

Also, the path and name are now static size on the stack and not
allocated strings at session creation.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c
ltt-sessiond/session.c
ltt-sessiond/session.h
This page took 0.024889 seconds and 4 git commands to generate.