From a94797228bb9f0752e012d67d45f49af0c76d9c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 27 Aug 2018 17:57:31 -0400 Subject: [PATCH] Docs: distinction between function and tracepoint probe locations MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- include/lttng/userspace-probe.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/lttng/userspace-probe.h b/include/lttng/userspace-probe.h index 2d8c6f125..9378eda8a 100644 --- a/include/lttng/userspace-probe.h +++ b/include/lttng/userspace-probe.h @@ -71,7 +71,9 @@ struct lttng_userspace_probe_location; enum lttng_userspace_probe_location_type { LTTNG_USERSPACE_PROBE_LOCATION_TYPE_UNKNOWN = -1, + /* Traces a function's entry and exit. */ LTTNG_USERSPACE_PROBE_LOCATION_TYPE_FUNCTION = 0, + /* Trace a single point. */ LTTNG_USERSPACE_PROBE_LOCATION_TYPE_TRACEPOINT = 1, }; -- 2.34.1