projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: block instrumentation: < 3.14 don't have bi_iter
[lttng-modules.git]
/
lttng-events.c
diff --git
a/lttng-events.c
b/lttng-events.c
index 0512a3f3ddfda66a72cf468f8f8c4730e2e4d4a1..ff28c9af559aecff2d5952a6f5fe9a43e2e343fe 100644
(file)
--- a/
lttng-events.c
+++ b/
lttng-events.c
@@
-1261,7
+1261,13
@@
static int __init lttng_events_init(void)
ret = lttng_abi_init();
if (ret)
goto error_abi;
ret = lttng_abi_init();
if (ret)
goto error_abi;
+ ret = lttng_logger_init();
+ if (ret)
+ goto error_logger;
return 0;
return 0;
+
+error_logger:
+ lttng_abi_exit();
error_abi:
kmem_cache_destroy(event_cache);
return ret;
error_abi:
kmem_cache_destroy(event_cache);
return ret;
@@
-1273,6
+1279,7
@@
static void __exit lttng_events_exit(void)
{
struct lttng_session *session, *tmpsession;
{
struct lttng_session *session, *tmpsession;
+ lttng_logger_exit();
lttng_abi_exit();
list_for_each_entry_safe(session, tmpsession, &sessions, list)
lttng_session_destroy(session);
lttng_abi_exit();
list_for_each_entry_safe(session, tmpsession, &sessions, list)
lttng_session_destroy(session);
This page took
0.02497 seconds
and
4
git commands to generate.