Linux Kernel Markers
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 19 Oct 2007 06:41:06 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:54 +0000 (11:53 -0700)
commit8256e47cdc8923e9959eb1d7f95d80da538add80
tree4702aa3ad7c9025f70314f1146e551b4e1dfcbb2
parent09cadedbdc01f1a4bea1f427d4fb4642eaa19da9
Linux Kernel Markers

The marker activation functions sits in kernel/marker.c.  A hash table is used
to keep track of the registered probes and armed markers, so the markers
within a newly loaded module that should be active can be activated at module
load time.

marker_query has been removed. marker_get_first, marker_get_next and
marker_release should be used as iterators on the markers.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: "Frank Ch. Eigler" <fche@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Mike Mason <mmlnx@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/vmlinux.lds.h
include/linux/marker.h [new file with mode: 0644]
include/linux/module.h
kernel/Kconfig.instrumentation
kernel/Makefile
kernel/marker.c [new file with mode: 0644]
kernel/module.c