event_cache = KMEM_CACHE(ltt_event, 0);
if (!event_cache)
return -ENOMEM;
- ret = ltt_debugfs_abi_init();
+ ret = lttng_abi_init();
if (ret)
goto error_abi;
return 0;
{
struct ltt_session *session, *tmpsession;
- ltt_debugfs_abi_exit();
+ lttng_abi_exit();
list_for_each_entry_safe(session, tmpsession, &sessions, list)
ltt_session_destroy(session);
kmem_cache_destroy(event_cache);