Install lttng-error.h and include it in lttng.h
[lttng-tools.git] / include / lttng / lttng.h
index 5d3362040d2004c395cb708fd735b76e85ca0da2..dd5d936c5faaed64910f4220e04025b691606028 100644 (file)
@@ -26,6 +26,9 @@
 #include <stdint.h>
 #include <sys/types.h>
 
+/* Error codes that can be returned by API calls */
+#include <lttng/lttng-error.h>
+
 /*
  * Event symbol length. Copied from LTTng kernel ABI.
  */
@@ -118,6 +121,7 @@ enum lttng_event_context_type {
        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 {
This page took 0.022789 seconds and 4 git commands to generate.