From: Jonathan Rajotte Date: Thu, 7 Nov 2019 21:16:56 +0000 (-0500) Subject: trackers: introduce new tracker types X-Git-Tag: v2.12.0-rc1~107 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=41ef8f6305f01c9e31e8be48db625788ef01e758;p=lttng-tools.git trackers: introduce new tracker types Signed-off-by: Jonathan Rajotte Change-Id: I749915124dbfe7cbe15d889a5dbcb648c17374dc Signed-off-by: Jérémie Galarneau --- diff --git a/include/lttng/session.h b/include/lttng/session.h index 9b2d7eb41..824323bdf 100644 --- a/include/lttng/session.h +++ b/include/lttng/session.h @@ -23,6 +23,28 @@ extern "C" { #endif +enum lttng_tracker_type { + LTTNG_TRACKER_PID = 0, + LTTNG_TRACKER_VPID = 1, + LTTNG_TRACKER_UID = 2, + LTTNG_TRACKER_GID = 3, + LTTNG_TRACKER_VUID = 4, + LTTNG_TRACKER_VGID = 5, +}; + +enum lttng_tracker_id_type { + LTTNG_ID_UNKNOWN = -1, + LTTNG_ID_ALL = 0, + LTTNG_ID_VALUE = 1, + LTTNG_ID_STRING = 2, +}; + +struct lttng_tracker_id { + enum lttng_tracker_id_type type; + int value; + char *string; +}; + struct lttng_session_descriptor; struct lttng_destruction_handle;