[lttng-dev] [LTTNG-TOOLS] Changes to the API

David Goulet david.goulet at polymtl.ca
Tue Dec 6 15:59:40 EST 2011


Hi everyone,

Just a quick notice that I just pushed 4 commits that changed the lttng-tools
API (lttng.h) and lttng command line.

lttng_list_domains()  (commit: 330be774319277f86ecf9445603bf97dc3249ca3)
lttng_start/stop_tracing()   (commit: 6a4f824d3317497f00cd7065ab9905fbb86ea58f)
lttng_destroy_session()   (commit: 843f5df95fcaa45f89b7df96a0050d44255d702d)

Those calls took a lttng_handle as the first parameter. It is now changed to use
a const char *session_name.

Also, the lttng command line was changed. For the user-space tracer, the --all
option was removed and replace by using "-u" alone. Finally, the long option
--all-events (-a) was replaced by "--all".

commit: e14f64a857c09162959b50c6c7f2abaaaa7eee49

$ lttng enable-event <event1> -u --all
is now
$ lttng enable-event <event1> -u

Cheers!
David



More information about the lttng-dev mailing list