X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust-comm%2Flttng-ust-comm.c;h=129ad8f259aaa3eea7fea766a567c207fd98797e;hb=3e7622607bd37d4f19b8ef831c27b7b556acf6d5;hp=4e9de57bd0d48e20840b1c168a4e76309f94ad45;hpb=c7bdf2d8bdb586eaa1bb9eb56de3cad1f384f625;p=lttng-ust.git diff --git a/liblttng-ust-comm/lttng-ust-comm.c b/liblttng-ust-comm/lttng-ust-comm.c index 4e9de57b..129ad8f2 100644 --- a/liblttng-ust-comm/lttng-ust-comm.c +++ b/liblttng-ust-comm/lttng-ust-comm.c @@ -1094,6 +1094,11 @@ int serialize_entries(struct ustctl_enum_entry **_entries, uentry->end.signedness = lentry->end.signedness; strncpy(uentry->string, lentry->string, LTTNG_UST_SYM_NAME_LEN); uentry->string[LTTNG_UST_SYM_NAME_LEN - 1] = '\0'; + + if (lentry->u.extra.options & LTTNG_ENUM_ENTRY_OPTION_IS_AUTO) { + uentry->u.extra.options |= + USTCTL_UST_ENUM_ENTRY_OPTION_IS_AUTO; + } } *_entries = entries; return 0;