int lttng_ust_context_provider_register(struct lttng_ust_context_provider *provider);
void lttng_ust_context_provider_unregister(struct lttng_ust_context_provider *provider);
-int lttng_context_is_app(const char *name);
-
void lttng_ust_context_set_session_provider(const char *name,
size_t (*get_size)(struct lttng_ctx_field *field, size_t offset),
void (*record)(struct lttng_ctx_field *field,
struct lttng_channel *chan),
void (*get_value)(struct lttng_ctx_field *field,
struct lttng_ctx_value *value));
-int lttng_context_add_rcu(struct lttng_ctx **ctx_p,
- const struct lttng_ctx_field *f);
#endif /* _LTTNG_UST_CONTEXT_PROVIDER_H */
LTTNG_HIDDEN
void lttng_destroy_context(struct lttng_ctx *ctx);
+LTTNG_HIDDEN
+int lttng_context_add_rcu(struct lttng_ctx **ctx_p,
+ const struct lttng_ctx_field *f);
+
+LTTNG_HIDDEN
+int lttng_context_is_app(const char *name);
+
LTTNG_HIDDEN
void lttng_context_vtid_reset(void);
LTTNG_HIDDEN
#include "ust-bitfield.h"
#include "ust-compat.h"
#include "clock.h"
+#include "context-internal.h"
#include "lttng-tracer.h"
#include "../libringbuffer/frontend_types.h"
struct lttng_channel *chan);
void lttng_ust_dummy_get_value(struct lttng_ctx_field *field,
struct lttng_ctx_value *value);
-int lttng_context_is_app(const char *name);
LTTNG_HIDDEN
void lttng_event_notifier_notification_send(