Skip to content

Linux Kernel Markers for 2.6.21-mm2

Mathieu Desnoyers linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 50 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Linux Kernel Markers - Add kconfig menus for the marker codearch/alpha/Kconfig arch/arm/Kconfig arch/arm26/Kconfig +24 more+149 -01 reply
2/10Linux Kernel Markers, architecture independent code.include/asm-generic/vmlinux.lds.h include/linux/marker.h include/linux/module.h +1 more+414 -05 replies
3/10Allow userspace applications to use marker.h to parse the markers section in the kernel binary.include/linux/Kbuild include/linux/marker.h+5 -48 replies
4/10Linux Kernel Markers - PowerPC optimized versionarch/powerpc/kernel/Makefile arch/powerpc/kernel/marker.c include/asm-powerpc/marker.h+111 -01 reply
5/10Linux Kernel Markers - i386 optimized versionarch/i386/kernel/Makefile arch/i386/kernel/marker.c include/asm-i386/marker.h+184 -011 replies
6/10Linux Kernel Markers - Non optimized architecturesinclude/asm-alpha/marker.h include/asm-arm/marker.h include/asm-arm26/marker.h +20 more+323 -07 replies
7/10Linux Kernel Markers - DocumentationDocumentation/marker.txt+266 -014 replies
8/10Defines the linker macro EXTRA_RWDATA for the marker data section.include/asm-generic/vmlinux.lds.h+13 -120 replies
9/10Linux Kernel Markers - Use EXTRA_RWDATA in architecturesarch/alpha/kernel/vmlinux.lds.S arch/arm/kernel/vmlinux.lds.S arch/arm26/kernel/vmlinux-arm26-xip.lds.in +26 more+33 -30 replies
10/10Port of blktrace to the Linux Kernel Markers.block/Kconfig block/blktrace.c block/elevator.c +7 more+323 -1672 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/10] Linux Kernel Markers for 2.6.21-mm2

Hi Andrew,

He is an updated, folded, version of the Linux Kernel Markers. It replaces the version found in 2.6.21-mm2 at the exact same spot in the series file.

Main changes :
- It renames the MARK() trace_mark(), as suggested by Christoph Hellwig.
- It now defines the structures contained out of the marker section outside of the #ifdef __KERNEL__ so the SystemTAP tool can use the header to extract the markers from the kernel binary.
- The i386 optimization has been tweaked a bit : the call is now in the else branch. It has something to do with the i386 "fast path" being the taken branch of a jump, to make loops faster. It seems that the if/else statements are also affected : the if () will be faster than the else. Therefore, I put the call in the else, to make sure the fastest path is when the marker is disabled.
- I added the blktrace port to the markers infrastructure. It makes one in-tree markers user.

Please remove :

linux-kernel-markers-kconfig-menus.patch linux-kernel-markers-architecture-independant-code.patch linux-kernel-markers-powerpc-optimization.patch linux-kernel-markers-i386-optimization.patch markers-add-instrumentation-markers-menus-to-avr32.patch linux-kernel-markers-non-optimized-architectures.patch markers-alpha-and-avr32-supportadd-alpha-markerh-add-arm26-markerh.patch linux-kernel-markers-documentation.patch
#
markers-define-the-linker-macro-extra_rwdata.patch markers-use-extra_rwdata-in-architectures.patch

And add, instead :

linux-kernel-markers-kconfig-menus.patch linux-kernel-markers-architecture-independant-code.patch linux-kernel-markers-header-visible-from-userspace.h linux-kernel-markers-powerpc-optimization.patch linux-kernel-markers-i386-optimization.patch linux-kernel-markers-non-optimized-architectures.patch linux-kernel-markers-documentation.patch
# linux-kernel-markers-define-the-linker-macro-extra_rwdata.patch linux-kernel-markers-use-extra_rwdata-in-architectures.patch #
linux-kernel-markers-port-blktrace-to-markers.patch

Thanks,

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