Major changes
authorDavid Goulet <david.goulet@polymtl.ca>
Wed, 15 Jun 2011 21:29:58 +0000 (17:29 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Mon, 27 Jun 2011 18:59:39 +0000 (14:59 -0400)
commitf3ed775ef4842019b396f06095b053c3a70bc3c8
treeaa77097eb3c4e58d956fe7d610f9397c5f40a70c
parentd686b40f66ea5df5ac0b9405991bbc33348b0a88
Major changes

ltt-sessiond
-------------

Change command type to add the LTTNG_ prefix. Only kernel command at
this point working with the new kernel tracer lttng 2.0.

Adds support for the default channel.

Kernel tracer session, metadata and streams opening are now handled by
the session daemon by removing the public commands for those options.
This means that the public API of lttng-tools DO NOT permit to control
these three actions anymore.

Adds ulimit setting for open files (65535) for sessiond running as
UID=0.

lttng.h
-------------

As mention before, create_session, create_stream and open_metadata is
removed from the public API.

UUIDs are not exposed anymore by the API. Everything is done with the
session name.

New lttng event structure added in order to support kernel tracepoints,
kprobes and function tracer.

New lttng channel structure to create a kernel channel. Add the lttng
channel attribute structure also where to put the channel attributes.

libkernelctl
-------------

Adds flush buffer function and wait quiescent for kernel tracer.

Uses the new enable/disable kernel ioctl that replaces create event.

lttng
-------------

*MAJOR*: This is the inital import of the git-alike UI.

Some features are still not implemented but all the basics and more are
there.

This commit introduce a new feature where the session name is kept in
the current directory where the create command was executed (or
specified by the user with --path). A .lttng directory is created and a
config file that contains, for now, the session name. So, in order to
apply command on a session, you either specify it on the command line or
go in the directory where your .lttng dir reside.

A lot of code was changed/added/removed from all over the lttng-tools
tree to fit this big change. Consider this commit to be an almost
complete rewrite of the original git command line UI and a big part of
the public API.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
34 files changed:
doc/dev/lttng-cli.txt
include/lttng-kernel.h
include/lttng-share.h
include/lttng/lttng.h
libkernelctl/kernel-ioctl.h
libkernelctl/libkernelctl.c
libkernelctl/libkernelctl.h
liblttngctl/liblttngctl.c
liblttsessiondcomm/liblttsessiondcomm.c
liblttsessiondcomm/liblttsessiondcomm.h
ltt-sessiond/kernel-ctl.c
ltt-sessiond/kernel-ctl.h
ltt-sessiond/main.c
ltt-sessiond/session.c
ltt-sessiond/session.h
ltt-sessiond/trace.c
ltt-sessiond/trace.h
ltt-sessiond/ust-ctl.c
ltt-sessiond/ust-ctl.h
lttng/Makefile.am
lttng/cmd.h [new file with mode: 0644]
lttng/commands/add_channel.c [new file with mode: 0644]
lttng/commands/create.c [new file with mode: 0644]
lttng/commands/destroy.c [new file with mode: 0644]
lttng/commands/enable_events.c [new file with mode: 0644]
lttng/commands/list.c [new file with mode: 0644]
lttng/commands/start.c [new file with mode: 0644]
lttng/commands/stop.c [new file with mode: 0644]
lttng/config.c [new file with mode: 0644]
lttng/lttng.c
lttng/options.c [deleted file]
lttng/options.h [deleted file]
lttng/utils.c [new file with mode: 0644]
lttng/utils.h [new file with mode: 0644]
This page took 0.028604 seconds and 4 git commands to generate.