Skip to content

Linux Kernel Markers

Mathieu Desnoyers linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Use EXTRA_RWDATA in architecturesarch/alpha/kernel/vmlinux.lds.S arch/arm/kernel/vmlinux.lds.S arch/arm26/kernel/vmlinux-arm26-xip.lds.in +27 more+35 -32 replies
2/6Linux Kernel Markers, architecture independent code.include/asm-generic/vmlinux.lds.h include/linux/marker.h include/linux/module.h +1 more+437 -10 replies
3/6Linux Kernel Markers - Hash Tableinclude/linux/marker.h kernel/module.c+277 -2100 replies
4/6Linux Kernel Markers - Add kconfig menus for the marker codearch/alpha/Kconfig arch/arm/Kconfig arch/arm26/Kconfig +23 more+63 -00 replies
5/6Linux Kernel Markers - DocumentationDocumentation/marker.txt+253 -00 replies
6/6Port of blktrace to the Linux Kernel Markers.block/Kconfig block/blktrace.c block/elevator.c +7 more+322 -1670 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/6] Linux Kernel Markers

Hi,

The Linux Kernel Markers have been reworked to now depend on the "Conditional Calls" as a basic infrastructure for enabling the calls to the function pointers (probes).

The second major change in this release is the use of a hash table to keep track of the enabled markers : it permits it issue the marker_arm_probe before loading a module containing the specified probe. The probe connexion to the marker is done both when the marker is armed and at module load time. It fixes an unexpected behavior of the previous version, which was due to the fact that users might have expected that the markers would be set for newly loaded modules. Since there is no dependency between the marker and modules, the order could easily be wrong.

A hash table using a hash of the marker name is used to give O(1) lookup at module load time.

This serie of patches depends on the conditional calls. Please add at the end of the 2.6.22-mm1 series:

use-extra_rwdata-in-architectures.patch
# linux-kernel-markers-architecture-independent-code.patch linux-kernel-markers-hash-table.patch linux-kernel-markers-kconfig-menus.patch linux-kernel-markers-documentation.patch linux-kernel-markers-port-blktrace-to-markers.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