projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add logging to notification API error paths
[lttng-tools.git]
/
src
/
common
/
action.c
diff --git
a/src/common/action.c
b/src/common/action.c
index 7deb509e3e09690ea6b0ede59c749eec0a8f3ec3..d07f36c2de77cfc6521fbc8dea367c730b337fc3 100644
(file)
--- a/
src/common/action.c
+++ b/
src/common/action.c
@@
-17,6
+17,7
@@
#include <lttng/action/action-internal.h>
#include <lttng/action/notify-internal.h>
#include <lttng/action/action-internal.h>
#include <lttng/action/notify-internal.h>
+#include <common/error.h>
#include <assert.h>
enum lttng_action_type lttng_action_get_type(struct lttng_action *action)
#include <assert.h>
enum lttng_action_type lttng_action_get_type(struct lttng_action *action)
@@
-97,6
+98,7
@@
ssize_t lttng_action_create_from_buffer(const char *buf,
goto end;
}
goto end;
}
+ DBG("Deserializing action from buffer");
switch (action_comm->action_type) {
case LTTNG_ACTION_TYPE_NOTIFY:
action = lttng_action_notify_create();
switch (action_comm->action_type) {
case LTTNG_ACTION_TYPE_NOTIFY:
action = lttng_action_notify_create();
This page took
0.028047 seconds
and
5
git commands to generate.