Add tracepoint_enabled() macro
authorDmitri Shubin <dmitri.shubin@orc-group.com>
Fri, 27 Mar 2015 19:34:11 +0000 (15:34 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 27 Mar 2015 19:35:36 +0000 (15:35 -0400)
commit8da6d0c8216f13df8f714459b7d855243296d83c
treeba724c82123b5e1177c6092d74c34f3ab2e9dc5c
parent5ea386c3b8e3566ec0b6710c82aae433de4d944a
Add tracepoint_enabled() macro

Allows application to check if given probe is enabled.
It's useful when data it passes to tracepoint is expensive to compute.

Signed-off-by: Dmitri Shubin <dmitri.shubin@orc-group.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/man/lttng-ust.3
include/lttng/tracepoint.h
This page took 0.024129 seconds and 4 git commands to generate.