X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng-ust.h;h=abfd613b9b982c297bb186c455eab94e7b5cd9bc;hp=4a4564e6d5afcbc4b6d55ef016593f36862f25bb;hb=97ee3a894d61db2c12b0fe09ee22f76140449a6f;hpb=3817e7df7aa29d8f52f1a4909b4fa6b660494323 diff --git a/include/lttng-ust.h b/include/lttng-ust.h index 4a4564e6d..abfd613b9 100644 --- a/include/lttng-ust.h +++ b/include/lttng-ust.h @@ -4,7 +4,8 @@ /* * Taken from the lttng-ust-abi.h in the UST 2.0 git tree * - * Copyright 2010-2011 (c) - Mathieu Desnoyers + * Copyright 2010-2011 - Mathieu Desnoyers + * Copyright 2011 - David Goulet * * LTTng-UST ABI header * @@ -13,10 +14,13 @@ #include -#define LTTNG_UST_SYM_NAME_LEN 128 +#define LTTNG_UST_SYM_NAME_LEN 128 -#define LTTNG_UST_COMM_VERSION_MAJOR 0 -#define LTTNG_UST_COMM_VERSION_MINOR 1 +#define LTTNG_UST_COMM_VERSION_MAJOR 0 +#define LTTNG_UST_COMM_VERSION_MINOR 1 + +/* See lttng-ust.h enum lttng_ust_output */ +#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_UST_MMAP enum lttng_ust_instrumentation { LTTNG_UST_TRACEPOINT = 0, @@ -76,6 +80,7 @@ struct lttng_ust_context { _UST_CMDR(0x41, struct lttng_ust_tracer_version) #define LTTNG_UST_TRACEPOINT_LIST _UST_CMD(0x42) #define LTTNG_UST_WAIT_QUIESCENT _UST_CMD(0x43) +#define LTTNG_UST_REGISTER_DONE _UST_CMD(0x44) /* Session FD ioctl */ #define LTTNG_UST_METADATA \ @@ -98,4 +103,6 @@ struct lttng_ust_context { #define LTTNG_UST_ENABLE _UST_CMD(0x80) #define LTTNG_UST_DISABLE _UST_CMD(0x81) +#define LTTNG_UST_ROOT_HANDLE 0 + #endif /* _LTTNG_UST_H */