X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fmi-lttng.c;h=d95d38ffb4443978ae8939b42396f6a94977488b;hp=2a69d45298b801c68722d45e7dfca7dc10328e2b;hb=511ed4e25eeb6821dc4f4b6c573fbbdc07c17053;hpb=65ae1ae9f0edbb4352b1e4a96b414e5b1bd8858b diff --git a/src/common/mi-lttng.c b/src/common/mi-lttng.c index 2a69d4529..d95d38ffb 100644 --- a/src/common/mi-lttng.c +++ b/src/common/mi-lttng.c @@ -77,6 +77,7 @@ const char * const mi_lttng_element_command_version = "version"; LTTNG_HIDDEN const char * const mi_lttng_element_command_rotate = "rotate"; LTTNG_HIDDEN const char * const mi_lttng_element_command_enable_rotation = "enable-rotation"; LTTNG_HIDDEN const char * const mi_lttng_element_command_disable_rotation = "disable-rotation"; +LTTNG_HIDDEN const char * const mi_lttng_element_command_clear = "clear"; /* Strings related to version command */ const char * const mi_lttng_element_version = "version"; @@ -363,7 +364,7 @@ const char *mi_lttng_logleveltype_string(enum lttng_loglevel_type value) } } -LTTNG_HIDDEN +static const char *mi_lttng_eventtype_string(enum lttng_event_type value) { switch (value) { @@ -1313,7 +1314,7 @@ end: return ret; } -LTTNG_HIDDEN +static int mi_lttng_event_userspace_probe(struct mi_writer *writer, struct lttng_event *event) {