projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: notification capture: handle userspace strings
[lttng-modules.git]
/
src
/
lttng-event-notifier-notification.c
diff --git
a/src/lttng-event-notifier-notification.c
b/src/lttng-event-notifier-notification.c
index 811dc50ad8dc93ea7230a71a8c106d9fb6316da4..054d33393f459832fac3906e81ba634cfe8c41f9 100644
(file)
--- a/
src/lttng-event-notifier-notification.c
+++ b/
src/lttng-event-notifier-notification.c
@@
-283,7
+283,11
@@
int notification_append_capture(
}
break;
case LTTNG_INTERPRETER_TYPE_STRING:
}
break;
case LTTNG_INTERPRETER_TYPE_STRING:
- ret = lttng_msgpack_write_str(writer, output->u.str.str);
+ if (output->u.str.user) {
+ ret = lttng_msgpack_write_user_str(writer, output->u.str.user_str);
+ } else {
+ ret = lttng_msgpack_write_str(writer, output->u.str.str);
+ }
if (ret) {
WARN_ON_ONCE(1);
goto end;
if (ret) {
WARN_ON_ONCE(1);
goto end;
This page took
0.023504 seconds
and
4
git commands to generate.