LTTng 2.0 prerelease 1
LTTng, the Linux Trace Toolkit Next Generation, is a highly efficient full system tracing solution toolchain. It is composed of several components to allow tracing of the kernel, of userspace, trace viewing and analysis and trace streaming. LTTng is open source software.
New Features:
- LTTng 2.0 kernel modules build against a vanilla or distribution kernel, without need for additional patches.
- Produces CTF (Common Trace Format) natively,
(http://www.efficios.com/ctf)
- Tracepoints, Function tracer, CPU Performance Monitoring Unit (PMU) counters and kprobes support,
- Integrated interface for both kernel and userspace tracing,
- Have the ability to attach "context" information to events in the trace (e.g. any PMU counter, pid, ppid, tid, comm name, etc). All the extra information fields to be collected with events are optional, specified on a per-tracing-session basis (except for timestamp and event id, which are mandatory).
- Allows non-root users part of the "tracing" group to perform kernel and userspace tracing.
- Allows multiple tracing sessions to be active concurrently, each with its own instrumentation set.
You can get a the current release "bundle" (recommanded set of packages) at the following URL:
http://lttng.org/bundles/20110725/
Refer to the README files for installation instructions and lttng-tools doc/quickstart.txt for usage information and examples.
(http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=doc/quickstart.txt)
Please note that the LTTng-UST 2.0 (user-space tracing counterpart of LTTng 2.0) is still in active development and not released yet. Only text-dump output of the binary traces is available at this moment through the Babeltrace tool (LTTV is not supported yet). Tracing from the "tracing" group currently produces traces owned by "root"; this known problem will be fixed in the next prerelease. This release has been tested on vanilla Linux kernels, Debian kernels, Ubuntu kernels, and Fedora kernels on the version range 2.6.38, 2.6.39 and 3.0 (on x86 32/64-bit, and powerpc 32-bit at the moment, build tested on ARM).
Feedback is welcome!
Thanks,
Mathieu
Project website: http://lttng.org
Download link: http://lttng.org/lttng2.0
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com
Quoted 4 lines · * Mathieu Desnoyers ([email protected]) wrote:
LTTng, the Linux Trace Toolkit Next Generation, is a highly efficient full system tracing solution toolchain. It is composed of several components to allow tracing of the kernel, of userspace, trace viewing and analysis and trace streaming. LTTng is open source software.
FYI, the new bundle:
http://lttng.org/bundles/20110726/
contains lttng-modules-2.0-pre2 which fixes perf counters context
support: in pre1, using perf counters with multiple contexts, on a setup with cpu hotplug enabled, sometimes caused kernel OOPS on trace session destroy, because reallocation of context array could move these addresses, but cpu hotplug notifier needs a fixed address. This is fixed in lttng-modules-2.0-pre2.
Thanks,
Mathieu
Quoted 53 lines
New Features:
- LTTng 2.0 kernel modules build against a vanilla or distribution kernel, without need for additional patches.
- Produces CTF (Common Trace Format) natively,
(http://www.efficios.com/ctf)
- Tracepoints, Function tracer, CPU Performance Monitoring Unit (PMU) counters and kprobes support,
- Integrated interface for both kernel and userspace tracing,
- Have the ability to attach "context" information to events in the trace (e.g. any PMU counter, pid, ppid, tid, comm name, etc). All the extra information fields to be collected with events are optional, specified on a per-tracing-session basis (except for timestamp and event id, which are mandatory).
- Allows non-root users part of the "tracing" group to perform kernel and userspace tracing.
- Allows multiple tracing sessions to be active concurrently, each with its own instrumentation set.You can get a the current release "bundle" (recommanded set of packages) at the following URL:
http://lttng.org/bundles/20110725/
Refer to the README files for installation instructions and lttng-tools
doc/quickstart.txtfor usage information and examples.
(http://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=doc/quickstart.txt)Please note that the LTTng-UST 2.0 (user-space tracing counterpart of LTTng 2.0) is still in active development and not released yet. Only text-dump output of the binary traces is available at this moment through the Babeltrace tool (LTTV is not supported yet). Tracing from the "tracing" group currently produces traces owned by "root"; this known problem will be fixed in the next prerelease. This release has been tested on vanilla Linux kernels, Debian kernels, Ubuntu kernels, and Fedora kernels on the version range 2.6.38, 2.6.39 and 3.0 (on x86 32/64-bit, and powerpc 32-bit at the moment, build tested on ARM).
Feedback is welcome!
Thanks,
Mathieu
Project website: http://lttng.org
Download link: http://lttng.org/lttng2.0Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com