From bff8d2177c7184a2ce763aac4b015f8ef91ce11e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 28 Aug 2018 17:23:51 -0400 Subject: [PATCH] Docs fix: probe location description is erroneous MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit A 'FUNCTION' probe location type does not trace function returns. The current implementation only traces function entries. Signed-off-by: Jérémie Galarneau --- include/lttng/userspace-probe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lttng/userspace-probe.h b/include/lttng/userspace-probe.h index 9378eda8a..6b9036307 100644 --- a/include/lttng/userspace-probe.h +++ b/include/lttng/userspace-probe.h @@ -71,9 +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. */ + /* Function entry. */ LTTNG_USERSPACE_PROBE_LOCATION_TYPE_FUNCTION = 0, - /* Trace a single point. */ + /* SDT probe's callsites. */ LTTNG_USERSPACE_PROBE_LOCATION_TYPE_TRACEPOINT = 1, }; -- 2.34.1