projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support per UID buffers
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-metadata.c
diff --git
a/src/bin/lttng-sessiond/ust-metadata.c
b/src/bin/lttng-sessiond/ust-metadata.c
index 45512ac7ba0df66ec1b2b19368b175c18198d3ae..2735169747e9bfc8108cb5e009cd8a922eefffa8 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-metadata.c
+++ b/
src/bin/lttng-sessiond/ust-metadata.c
@@
-372,6
+372,7
@@
int ust_metadata_event_statedump(struct ust_registry_session *session,
"};\n\n");
if (ret)
goto end;
"};\n\n");
if (ret)
goto end;
+ event->metadata_dumped = 1;
end:
return ret;
end:
return ret;
@@
-424,6
+425,8
@@
int ust_metadata_channel_statedump(struct ust_registry_session *session,
ret = lttng_metadata_printf(session,
"};\n\n");
ret = lttng_metadata_printf(session,
"};\n\n");
+ /* Flag success of metadata dump. */
+ chan->metadata_dumped = 1;
end:
return ret;
end:
return ret;
@@
-525,6
+528,9
@@
int ust_metadata_session_statedump(struct ust_registry_session *session,
int ret = 0;
char hostname[HOST_NAME_MAX];
int ret = 0;
char hostname[HOST_NAME_MAX];
+ assert(session);
+ assert(app);
+
uuid_c = session->uuid;
snprintf(uuid_s, sizeof(uuid_s),
uuid_c = session->uuid;
snprintf(uuid_s, sizeof(uuid_s),
This page took
0.024398 seconds
and
4
git commands to generate.