X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Flttng-ust-abi.h;h=98470e4d16a86d9d2324ce26c8408627c4bb6be3;hb=850767541647c102a299d7fbc39c97555ac70224;hp=df61cde57c5c0005bb6e72c7d2ccdcbea4d19c2d;hpb=7972aab22f74b18faa168c0482216a3dd711a075;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/lttng-ust-abi.h b/src/bin/lttng-sessiond/lttng-ust-abi.h index df61cde57..98470e4d1 100644 --- a/src/bin/lttng-sessiond/lttng-ust-abi.h +++ b/src/bin/lttng-sessiond/lttng-ust-abi.h @@ -28,7 +28,9 @@ */ #include -#include + +#define lttng_ust_notrace __attribute__((no_instrument_function)) +#define LTTNG_PACKED __attribute__((__packed__)) #ifndef __ust_stringify #define __ust_stringify1(x) #x @@ -42,7 +44,7 @@ #define LTTNG_UST_COMM_MAGIC 0xC57C57C5 /* Version for ABI between liblttng-ust, sessiond, consumerd */ -#define LTTNG_UST_ABI_MAJOR_VERSION 4 +#define LTTNG_UST_ABI_MAJOR_VERSION 5 #define LTTNG_UST_ABI_MINOR_VERSION 0 enum lttng_ust_instrumentation { @@ -137,6 +139,7 @@ enum lttng_ust_context_type { LTTNG_UST_CONTEXT_VPID = 1, LTTNG_UST_CONTEXT_PTHREAD_ID = 2, LTTNG_UST_CONTEXT_PROCNAME = 3, + LTTNG_UST_CONTEXT_IP = 4, }; #define LTTNG_UST_CONTEXT_PADDING1 16