X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Fevents.h;h=bf76d7a319344e06c945c7df945cefbfc80f0bb4;hb=e2a195a6849f8d95a6583387b8ffbd8db8b95f9c;hp=cd64a2d8ce8c894bbd570692805bd96a22a4ee0a;hpb=4f86e0d0b5debc0d9c56fe9ac76b27b6a215fa4c;p=lttng-ust.git diff --git a/src/lib/lttng-ust/events.h b/src/lib/lttng-ust/events.h index cd64a2d8..bf76d7a3 100644 --- a/src/lib/lttng-ust/events.h +++ b/src/lib/lttng-ust/events.h @@ -190,10 +190,10 @@ void lttng_perf_counter_exit(void) #else /* #ifdef HAVE_LINUX_PERF_EVENT_H */ static inline -int lttng_add_perf_counter_to_ctx(uint32_t type, - uint64_t config, - const char *name, - struct lttng_ust_ctx **ctx) +int lttng_add_perf_counter_to_ctx(uint32_t type __attribute__((unused)), + uint64_t config __attribute__((unused)), + const char *name __attribute__((unused)), + struct lttng_ust_ctx **ctx __attribute__((unused))) { return -ENOSYS; }