Multiple fixes for enable/disable UST support
authorDavid Goulet <david.goulet@polymtl.ca>
Wed, 7 Dec 2011 23:24:49 +0000 (18:24 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Wed, 7 Dec 2011 23:24:49 +0000 (18:24 -0500)
commit7f79d3a151871c5bab5bf47aae4eec5f9da1eab7
tree16b27baacdd439e2df72761206422a91d2363d4f
parent045e5491d29048a9d888559cd91d6d6f304fc171
Multiple fixes for enable/disable UST support

Makes the enable/disable command inside the main.c uses the event.c
functions. For this, the disable tracepoint functions (single and all)
for UST are added to event.c

Also fix the goto error path in event.c for disable/enable functions
where the UST event was removed from the hashtable if the event already
exist on the tracer side.

Fix the wrong hashtable being used for events lookup in ust_app.c for
enable/disable event for UST global domain.

Adds the disable event per PID function call in ust_app.c

At this commit, the "lttng disable-event -a -u" command segfault
lttng-ust at commit 5cd29ace704432c7a421f7749ef8591e30e1894c.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/event.c
lttng-sessiond/event.h
lttng-sessiond/main.c
lttng-sessiond/trace-ust.c
lttng-sessiond/ust-app.c
lttng-sessiond/ust-app.h
This page took 0.025194 seconds and 4 git commands to generate.