Needed by both lttng-ust and lttng-ust-ctl.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
return 0;
}
-int lttng_context_is_app(const char *name)
-{
- if (strncmp(name, "$app.", strlen("$app.")) != 0) {
- return 0;
- }
- return 1;
-}
-
int lttng_get_context_index(struct lttng_ctx *ctx, const char *name)
{
unsigned int i;
{
value->sel = LTTNG_UST_DYNAMIC_TYPE_NONE;
}
+
+int lttng_context_is_app(const char *name)
+{
+ if (strncmp(name, "$app.", strlen("$app.")) != 0) {
+ return 0;
+ }
+ return 1;
+}