[lttng-dev] [PATCH v2 1/2] lttng_ust_init_thread: initialise cached context values

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Aug 1 11:11:19 EDT 2022


----- On Aug 1, 2022, at 10:36 AM, Norbert Lange via lttng-dev lttng-dev at lists.lttng.org wrote:

> #else /* #ifdef HAVE_LINUX_PERF_EVENT_H */
> static inline
> -void lttng_ust_perf_counter_alloc_tls(void)
> +void lttng_ust_perf_counter_init_thread(int flags)

Using 

void lttng_ust_perf_counter_init_thread(int flags __attribute__((unused)))

instead.

> {
> +	(void)flags;
> }

Will fixup locally and merge.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list