lttng-modules:stable-2.2

Last commit made on 2014-02-28
Get this branch:
git clone -b stable-2.2 https://git.launchpad.net/lttng-modules

Branch merges

Branch information

Name:
stable-2.2
Repository:
lp:lttng-modules

Recent commits

12b678e... by Mathieu Desnoyers

Version 2.2.4

Signed-off-by: Mathieu Desnoyers <email address hidden>

eaef289... by Mathieu Desnoyers

Fix: load state dump even if work-around lookup fails

Signed-off-by: Mathieu Desnoyers <email address hidden>

df56ddd... by Mathieu Desnoyers

Fix: Add statedump exit so module is not permanent

Signed-off-by: Mathieu Desnoyers <email address hidden>

9f9f940... by Mathieu Desnoyers

Fix: OOT lttng-statedump tracepoints not visible with signed kernels

Users have reported being unable to trace non-signed modules loaded
within a kernel supporting module signature.

Here is the relevant report of this issue to Linux upstream, with a
proposed fix: https://lkml.org/lkml/2014/2/10/747

Work-around the issue for lttng-statedump.ko tracepoints.

Signed-off-by: Mathieu Desnoyers <email address hidden>

75b37e1... by Mathieu Desnoyers

Fix: tracepoint event name mapping at unregister

Signed-off-by: Mathieu Desnoyers <email address hidden>

2557ad3... by Mathieu Desnoyers

Fix: ring buffer check deliver compile fix

Cherry pick of commit:

  "Fix: eliminate timestamp overlap between packets"

Introduced a compile failure due to mismatch of argument number.

Signed-off-by: Mathieu Desnoyers <email address hidden>

c991463... by Mathieu Desnoyers

Fix: tracepoint name remapping

Commit

  "Introduce API to remap event names exposed by LTTng"

failed to map the event names enabled by the user to tracepoint names
known to the kernel. For instance, tracing with the kmem_kmalloc event
enabled is not gathering any event. This issue applies to all tracepoint
events declared with a different name within LTTng than within the Linux
kernel.

Signed-off-by: Mathieu Desnoyers <email address hidden>

2f233e7... by Mathieu Desnoyers

Fix: quote event name in metadata

Allows adding events with a "-" within the name with --probe or
--function.

Signed-off-by: Mathieu Desnoyers <email address hidden>

9979c1f... by Mathieu Desnoyers

Fix: handle unknown event type parameter

Skip to an error path if the event type is unknown.

Signed-off-by: Mathieu Desnoyers <email address hidden>

510f66d... by Mathieu Desnoyers

Fix: eliminate timestamp overlap between packets

By using the timestamp sampled at space reservation when the packet is
being filled as "end timestamp" for a packet, we can ensure there is no
overlap between packet timestamp ranges, so that packet timestamp end <=
following packets timestamp begin.

Overlap between consecutive packets becomes an issue when the end
timestamp of a packet is greater than the end timestamp of a following
packet, IOW a packet completely contains the timestamp range of a
following packet. This kind of situation does not allow trace viewers
to do binary search within the packet timestamps. This kind of situation
will typically never occur if packets are significantly larger than
event size, but this fix ensures it can never even theoretically happen.

The only case where packets can still theoretically overlap is if they
have equal begin and end timestamps, which is valid.

Signed-off-by: Mathieu Desnoyers <email address hidden>