/*
* Destroy a buffer registry session with the given domain.
- *
- * Should *NOT* be called with RCU read-side lock held.
*/
static void buffer_reg_session_destroy(struct buffer_reg_session *regp,
enum lttng_domain_type domain)
/*
* Destroy per PID and UID registry hash table.
- *
- * Should *NOT* be called with RCU read-side lock held.
*/
void buffer_reg_destroy_registries(void)
{