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

2022-07-19 Thread Mathieu Desnoyers via lttng-dev
- On Jul 18, 2022, at 5:59 PM, Norbert Lange via lttng-dev lttng-dev@lists.lttng.org wrote: > Modify all relevant *_alloc_tls functions so that they take an > argument for 'init'. Setting this to 'true' will read > the actual context value and store it into a thread local > cache. > > The fu

Re: [lttng-dev] [PATCH 2/2] lttng_ust_init_thread: call urcu_register_thread

2022-07-19 Thread Mathieu Desnoyers via lttng-dev
- On Jul 18, 2022, at 5:59 PM, Norbert Lange via lttng-dev lttng-dev@lists.lttng.org wrote: > Eagerly register the thread, and avoid taking mutex during the > first tracepoint. Acked-by: Mathieu Desnoyers Please resubmit with the next round with my acked-by tag. Mathieu > > Signed-off-b