Project

General

Profile

fix-baddr-python.patch

Mathieu Desnoyers, 01/12/2015 12:00 PM

Download (789 Bytes)

View differences:

liblttng-ust/lttng-ust-comm.c
335 335
	asm volatile ("" : : "m" (URCU_TLS(ust_mutex_nest)));
336 336
}
337 337

  
338
/*
339
 * Fixup urcu bp TLS.
340
 */
341
static
342
void lttng_fixup_urcu_bp_tls(void)
343
{
344
	rcu_read_lock();
345
	rcu_read_unlock();
346
}
347

  
338 348
int lttng_get_notify_socket(void *owner)
339 349
{
340 350
	struct sock_info *info = owner;
......
1419 1429
	 * to be the dynamic linker mutex) and ust_lock, taken within
1420 1430
	 * the ust lock.
1421 1431
	 */
1432
	lttng_fixup_urcu_bp_tls();
1422 1433
	lttng_fixup_ringbuffer_tls();
1423 1434
	lttng_fixup_vtid_tls();
1424 1435
	lttng_fixup_nest_count_tls();