#include <lttng/event-expr.h>
#include <lttng/event-field-value.h>
#include <lttng/event-rule/event-rule.h>
#include <lttng/event-expr.h>
#include <lttng/event-field-value.h>
#include <lttng/event-rule/event-rule.h>
#include <lttng/event-rule/jul-logging.h>
#include <lttng/event-rule/kernel-kprobe.h>
#include <lttng/event-rule/kernel-syscall.h>
#include <lttng/event-rule/jul-logging.h>
#include <lttng/event-rule/kernel-kprobe.h>
#include <lttng/event-rule/kernel-syscall.h>
#include <lttng/location.h>
#include <lttng/log-level-rule.h>
#include <lttng/lttng-error.h>
#include <lttng/location.h>
#include <lttng/log-level-rule.h>
#include <lttng/lttng-error.h>
#include <lttng/notification/channel.h>
#include <lttng/notification/notification.h>
#include <lttng/rotation.h>
#include <lttng/notification/channel.h>
#include <lttng/notification/notification.h>
#include <lttng/rotation.h>
/*
* Set the tracing group for the *current* flow of execution.
*
* On success, returns 0 else a negative LTTng error code.
*/
/*
* Set the tracing group for the *current* flow of execution.
*
* On success, returns 0 else a negative LTTng error code.
*/
-extern int lttng_register_consumer(struct lttng_handle *handle,
- const char *socket_path);
+LTTNG_EXPORT extern int lttng_register_consumer(struct lttng_handle *handle,
+ const char *socket_path);
/*
* Start tracing for *all* domain(s) in the session.
*
* Return 0 on success else a negative LTTng error code.
*/
/*
* Start tracing for *all* domain(s) in the session.
*
* Return 0 on success else a negative LTTng error code.
*/
-extern int lttng_calibrate(struct lttng_handle *handle,
- struct lttng_calibrate *calibrate);
+LTTNG_EXPORT extern int lttng_calibrate(struct lttng_handle *handle,
+ struct lttng_calibrate *calibrate);
-extern int lttng_set_consumer_url(struct lttng_handle *handle,
- const char *control_url, const char *data_url);
+LTTNG_EXPORT extern int
+lttng_set_consumer_url(struct lttng_handle *handle, const char *control_url, const char *data_url);
* the lttng-relayd). Only kernel, per-uid and non-live sessions are supported.
* Return 0 on success, a negative LTTng error code on error.
*/
* the lttng-relayd). Only kernel, per-uid and non-live sessions are supported.
* Return 0 on success, a negative LTTng error code on error.
*/