markers: auto enable tracepoints (new API : trace_mark_tp())
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 14 Nov 2008 22:47:39 +0000 (17:47 -0500)
committerIngo Molnar <mingo@elte.hu>
Sun, 16 Nov 2008 08:01:29 +0000 (09:01 +0100)
commitc1df1bd2c4d4b20c83755a0f41956b57aec4842a
tree08761333b0850c6acfb31d72d7777dccc135ebde
parenta419246ac7c2d9282dfd843103702895bb3f3fd7
markers: auto enable tracepoints (new API : trace_mark_tp())

Impact: new API

Add a new API trace_mark_tp(), which declares a marker within a
tracepoint probe. When the marker is activated, the tracepoint is
automatically enabled.

No branch test is used at the marker site, because it would be a
duplicate of the branch already present in the tracepoint.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/marker.h
init/Kconfig
kernel/marker.c