Skip to content

Architecture Independent Markers

Mathieu Desnoyers linux-mm lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Markers - define non optimized markerinclude/linux/marker.h+24 -50 replies
2/7LTTng instrumentation fsfs/buffer.c fs/compat.c fs/exec.c +4 more+39 -20 replies
3/7LTTng instrumentation ipcipc/msg.c ipc/sem.c ipc/shm.c+15 -30 replies
4/7LTTng instrumentation kernelkernel/exit.c kernel/fork.c kernel/irq/handle.c +9 more+139 -10 replies
5/7LTTng instrumentation mminclude/linux/swapops.h mm/filemap.c mm/hugetlb.c +4 more+86 -90 replies
6/7LTTng instrumentation netnet/core/dev.c net/ipv4/devinet.c net/socket.c+31 -00 replies
7/7LTTng instrumentation - liblib/semaphore-sleepers.c+9 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchIngo Molnar
SeriesNACK-ed-by
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch for 2.6.26 0/7] Architecture Independent Markers

Hi Andrew,

After a few RFC rounds, I propose these markers for 2.6.26. They include work done after comments from the memory management community. Most of them have been used by the LTTng project for about 2 years.

The first patch in the patchset does a small addition to the markers API : it allows marker sites to declare a _trace_mark marker. I forces use of a marker which does not rely on an instruction modification mechanism to enable itself. It's required in some kernel code paths (lockdep, printk, some traps, __init and __exit code). I would prefer to get this in before the immediate values, since the immediate values optimization, which depends on the rework of x86 alternatives, paravirt and kprobes currently being merged, takes longer than expected.

I do not expect this marker set to cover every bits of the kernel (and this is not its purpose). It's just a good start that has proven to be very useful to the LTTng community in the past 2 years.

This patchset applies over 2.6.25-rc7 in this order :

markers-define-non-optimized-marker.patch
lttng-instrumentation-fs.patch
lttng-instrumentation-ipc.patch
lttng-instrumentation-kernel.patch
lttng-instrumentation-mm.patch
lttng-instrumentation-net.patch
lttng-instrumentation-lib.patch

Mathieu

Signature · 3 lines
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68