Skip to content

Linux Kernel Markers - kernel 2.6.20

Mathieu Desnoyers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Linux Kernel Markers : Kconfig menusMakefile arch/alpha/Kconfig arch/arm/Kconfig +23 more+140 -10 replies
2/5Linux Kernel Markers, architecture independant code.include/asm-generic/vmlinux.lds.h include/linux/marker.h include/linux/module.h +1 more+358 -02 replies
3/5Linux Kernel Markers : powerpc optimizationinclude/asm-powerpc/marker.h+49 -00 replies
4/5Linux Kernel Markers : i386 optimizationarch/i386/kernel/Makefile arch/i386/kernel/marker.c include/asm-i386/marker.h+141 -00 replies
5/5Linux Kernel Markers, non optimized architecturesinclude/asm-arm/marker.h include/asm-cris/marker.h include/asm-frv/marker.h +18 more+300 -08 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/05] Linux Kernel Markers - kernel 2.6.20

Linux Kernel Markers - kernel 2.6.20

Hi,

You will find, in the following posts, the latest revision of the Linux Kernel Markers. Due to the need some tracing projects (LTTng, SystemTAP) has of this kind of mechanism, it could be nice to consider it for mainstream inclusion.

Recently added : completed correct support for Intel XMC-safe code modification (erratum 49 of the Pentium III). I am not using the kprobe infrastructure because it forbids instrumentation of too much core kernel functions (traps handlers, lockdep.c, ...). I also made the "GEN_MARK" marker available at all time : it will force using the generic version of the markers at a specific instrumentation site. It is intended to be used at instrumentation sites that are not reentrant with respect to the breakpoint handler. lockdep.c/trace_hardirqs_on/off() is a good example of where it is needed :
the breakpoint handler calls hardirq tracing event when it returns.

The following patches apply on 2.6.20.

These patches compile fine against :

arm
i686
ia64
m68k
mips
mipsel
x86_64
ppc 405
powerpc 970
s390
sparc
sparc64