#include <stdint.h>
#include <sys/types.h>
+/* Error codes that can be returned by API calls */
+#include <lttng/lttng-error.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Event symbol length. Copied from LTTng kernel ABI.
*/
LTTNG_EVENT_CONTEXT_PPID = 8,
LTTNG_EVENT_CONTEXT_VPPID = 9,
LTTNG_EVENT_CONTEXT_PTHREAD_ID = 10,
+ LTTNG_EVENT_CONTEXT_HOSTNAME = 11,
};
enum lttng_calibrate_type {
enum lttng_event_field_type type;
char padding[LTTNG_EVENT_FIELD_PADDING];
struct lttng_event event;
+ int nowrite;
};
/*
*/
extern int lttng_health_check(enum lttng_health_component c);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_H */