[lttng-dev] [RELEASE] LTTng modules 2.5.0-rc1

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed May 28 10:46:48 EDT 2014


The LTTng modules provide Linux kernel tracing capability to the LTTng
2.x tracer toolset.

New and noteworthy:

- State dump of block devices,
- State dump of file descriptor flags and modes,
- 3.15 Linux kernel support,
- v4lv2 instrumentation support,
- MIPS32 system call tracing,
- New /proc/lttng-logger ABI.

How to use the new /proc/lttng-logger ABI:

>From the command line (for instance):

Start lttng-sessiond as root,

# lttng-sessiond

Start tracing from root or from a user belonging to the
"tracing" group:

% lttng create
% lttng enable-event -k lttng-logger

Write event payload data to /proc/lttng-logger (from any user,
does not need to be in any group):

% echo -n "Some message" > /proc/lttng-logger

% Stop tracing, view trace

% lttng stop
% lttng view

You should see:

[10:44:24.810273367] (+?.?????????) thinkos lttng_logger: { cpu_id = 3 }, { _msg_length = 12, msg = "Some message" }

It is a quick and easy way to trace some events from user-space through
the kernel tracer. It is much more basic than UST: lttng-logger is slower
(involves system call round-trip to the kernel) and only supports
logging strings. But it's very quick and easy to use, especially from
scripts.


Detailed changelog:

2014-05-28 (International Hamburger Day) LTTng modules 2.5.0-rc1
        * Add TID field to some block_* events
        * Fix: refuse overwrite mode buffers with less than two subbuffers
        * Fix: lttng modules system call generation script
        * Dump FD flags and mode on state dump
        * Fix: incorrect rwbs field type in block_bio_queue
        * Fix: blktrace instrumentation for v3.2.58+ stable branch
        * Fix: pass proper args when writing commit counter
        * Cleanup: lib ringbuffer: pagecpy has unsigned semantic
        * Fix: allow racy tracepoint string input from kernel and userspace
        * Statedump event for block devices
        * Fix: update v4l2 instrumentation to 3.15 kernel
        * Fix: ext4 update instrumentation to 3.15 kernel
        * Fix: update block instrumentation to 3.15 kernel
        * Fix: module instrumentation: update to 3.15 kernel
        * Adapt to 3.15 tracepoint API
        * Kernel 3.15 don't define map unmap for pipe
        * Fix: add missing module version in v4l2 probe
        * Add V4L2 instrumentation
        * Fix: rcu instrumentation: add const qualifier to char pointers
        * Fix: add missing module version information
        * Use kernel 3.13 syscall tables for MIPS32
        * Add MIPS32 syscalls extracted from a 3.13 kernel
        * Fix: block instrumentation: < 3.14 don't have bi_iter
        * Fix: update btrfs instrumentation to kernel 3.14
        * Fix: update block layer instrumentation to kernel 3.14
        * Fix: remove __exit annotation
        * Fix file permissions for lttng-statedump-impl.c
        * LTTng logger ABI

Project website: http://lttng.org
Download link: http://lttng.org/download
(please refer to the README files for installation instructions and
lttng-tools doc/quickstart.txt for usage information)

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list