projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trigger: implement trigger naming
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread-commands.c
diff --git
a/src/bin/lttng-sessiond/notification-thread-commands.c
b/src/bin/lttng-sessiond/notification-thread-commands.c
index dc03e6a2df2fd9e7eab8634b5ece6ebb557c91de..28ed0b339d16c07e9d65763ff572a39a6e830945 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread-commands.c
+++ b/
src/bin/lttng-sessiond/notification-thread-commands.c
@@
-117,9
+117,11
@@
enum lttng_error_code notification_thread_command_register_trigger(
enum lttng_error_code ret_code;
struct notification_thread_command cmd = {};
enum lttng_error_code ret_code;
struct notification_thread_command cmd = {};
+ assert(trigger);
init_notification_thread_command(&cmd);
cmd.type = NOTIFICATION_COMMAND_TYPE_REGISTER_TRIGGER;
init_notification_thread_command(&cmd);
cmd.type = NOTIFICATION_COMMAND_TYPE_REGISTER_TRIGGER;
+ lttng_trigger_get(trigger);
cmd.parameters.trigger = trigger;
ret = run_command_wait(handle, &cmd);
cmd.parameters.trigger = trigger;
ret = run_command_wait(handle, &cmd);
This page took
0.023733 seconds
and
4
git commands to generate.