projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use tabs in abi.h
[lttng-modules.git]
/
src
/
lttng-probes.c
diff --git
a/src/lttng-probes.c
b/src/lttng-probes.c
index 8ac061e70e6721a45704f7aa3654b583faad5c13..00f39112f04d84485bc9d482aad9c632c92dab6b 100644
(file)
--- a/
src/lttng-probes.c
+++ b/
src/lttng-probes.c
@@
-25,7
+25,7
@@
static LIST_HEAD(_probe_list);
static LIST_HEAD(lazy_probe_init);
/*
static LIST_HEAD(lazy_probe_init);
/*
- * lazy_nesting counter ensures we don't
trigg
er lazy probe registration
+ * lazy_nesting counter ensures we don't
event_notifi
er lazy probe registration
* fixup while we are performing the fixup. It is protected by the
* sessions lock.
*/
* fixup while we are performing the fixup. It is protected by the
* sessions lock.
*/
@@
-124,6
+124,8
@@
void fixup_lazy_probes(void)
}
ret = lttng_fix_pending_events();
WARN_ON_ONCE(ret);
}
ret = lttng_fix_pending_events();
WARN_ON_ONCE(ret);
+ ret = lttng_fix_pending_event_notifiers();
+ WARN_ON_ONCE(ret);
lazy_nesting--;
}
lazy_nesting--;
}
@@
-173,7
+175,7
@@
int lttng_probe_register(struct lttng_probe_desc *desc)
* the probe immediately, since we cannot delay event
* registration because they are needed ASAP.
*/
* the probe immediately, since we cannot delay event
* registration because they are needed ASAP.
*/
- if (lttng_session_active())
+ if (lttng_session_active()
|| lttng_event_notifier_active()
)
fixup_lazy_probes();
end:
lttng_unlock_sessions();
fixup_lazy_probes();
end:
lttng_unlock_sessions();
This page took
0.025191 seconds
and
4
git commands to generate.