X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Fkcompat%2Fcompiler.h;h=f2fbd3e3990c4dfd6872b883ee32a21d108f43af;hb=d4419b81b243bc3a6bdd4a09b3ca2216d044a1c7;hp=d3ef8a1e0cd9c9648dd046a719d16f76d5cfe436;hpb=17bb07b445acdef0034194bdcebe113988a8db60;p=lttng-ust.git diff --git a/include/ust/kcompat/compiler.h b/include/ust/kcompat/compiler.h index d3ef8a1e..f2fbd3e3 100644 --- a/include/ust/kcompat/compiler.h +++ b/include/ust/kcompat/compiler.h @@ -34,6 +34,7 @@ #define __printf(a,b) __attribute__((format(printf,a,b))) #define noinline __attribute__((noinline)) #define __attribute_const__ __attribute__((__const__)) +#define __used __attribute__((used)) #define __maybe_unused __attribute__((unused)) #define notrace __attribute__((no_instrument_function))