X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-context-perf-counters.c;h=52371a0dc6eb13cb600055cf85eba36077748cf5;hb=c246521ddcba1d1d28cfa0482aa500b9122e7264;hp=2db11436a9ad8fa320f7092d9420e21972dc2ad6;hpb=1c0569ec0d094571d181d1fce53ecfce8877614f;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-context-perf-counters.c b/src/lib/lttng-ust/lttng-context-perf-counters.c index 2db11436..52371a0d 100644 --- a/src/lib/lttng-ust/lttng-context-perf-counters.c +++ b/src/lib/lttng-ust/lttng-context-perf-counters.c @@ -87,9 +87,10 @@ static DEFINE_URCU_TLS(int, ust_perf_mutex_nest); /* * Force a read (imply TLS allocation for dlopen) of TLS variables. */ -void lttng_ust_perf_counter_alloc_tls(void) +void lttng_ust_perf_counter_init_thread(int flags) { asm volatile ("" : : "m" (URCU_TLS(ust_perf_mutex_nest))); + (void)flags; } void lttng_perf_lock(void)