projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: move copy_filter_bytecode to bytecode.c and rename it
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread-commands.h
diff --git
a/src/bin/lttng-sessiond/notification-thread-commands.h
b/src/bin/lttng-sessiond/notification-thread-commands.h
index 0f76ee5a60f520bccb4c6b699b1be89a396e35fc..50751a94d1ed4dc3c6cf6f2a4c68e55d6d4abf12 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread-commands.h
+++ b/
src/bin/lttng-sessiond/notification-thread-commands.h
@@
-39,8
+39,14
@@
struct notification_thread_command {
enum notification_thread_command_type type;
union {
enum notification_thread_command_type type;
union {
- /* Register/Unregister trigger. */
- struct lttng_trigger *trigger;
+ /* Register trigger. */
+ struct {
+ struct lttng_trigger *trigger;
+ } register_trigger;
+ /* Unregister trigger. */
+ struct {
+ const struct lttng_trigger *trigger;
+ } unregister_trigger;
/* Add channel. */
struct {
struct {
/* Add channel. */
struct {
struct {
@@
-102,7
+108,7
@@
enum lttng_error_code notification_thread_command_register_trigger(
enum lttng_error_code notification_thread_command_unregister_trigger(
struct notification_thread_handle *handle,
enum lttng_error_code notification_thread_command_unregister_trigger(
struct notification_thread_handle *handle,
- struct lttng_trigger *trigger);
+
const
struct lttng_trigger *trigger);
enum lttng_error_code notification_thread_command_add_channel(
struct notification_thread_handle *handle,
enum lttng_error_code notification_thread_command_add_channel(
struct notification_thread_handle *handle,
This page took
0.023497 seconds
and
4
git commands to generate.