Change lttng API to use a lttng_handle
authorDavid Goulet <david.goulet@polymtl.ca>
Fri, 12 Aug 2011 18:12:55 +0000 (14:12 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Fri, 12 Aug 2011 18:12:55 +0000 (14:12 -0400)
commitcd80958d00fddabced5fbd60641978516a01e29e
tree1bc9e810f324f4c607d532b33c2ef68955b92645
parent8b270bdb4dccf5571180a9906084126e90eec949
Change lttng API to use a lttng_handle

Introduce the lttng_handle structure that is now used by the API
containing the session name and lttng domain.

This removes multiple static variables of the library and makes it safe
for multithread tool to use the library.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
13 files changed:
include/lttng/lttng.h
liblttngctl/lttngctl.c
lttng/commands/add_context.c
lttng/commands/calibrate.c
lttng/commands/destroy.c
lttng/commands/disable_channels.c
lttng/commands/disable_events.c
lttng/commands/enable_channels.c
lttng/commands/enable_events.c
lttng/commands/list.c
lttng/commands/start.c
lttng/commands/stop.c
lttng/utils.c
This page took 0.034218 seconds and 4 git commands to generate.