projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: introduce cleared_after_last_stop
[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 0eccac654883a6f4c0a1ea92604518b0aed13210..c29ed348b05fe006492d32345992aa47e1f2bd40 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-metadata.c
+++ b/
src/bin/lttng-sessiond/ust-metadata.c
@@
-85,8
+85,10
@@
int get_count_order(unsigned int count)
int order;
order = fls(count) - 1;
int order;
order = fls(count) - 1;
- if (count & (count - 1))
+ if (count & (count - 1))
{
order++;
order++;
+ }
+ assert(order >= 0);
return order;
}
return order;
}
@@
-1006,8
+1008,8
@@
int ust_metadata_session_statedump(struct ust_registry_session *session,
uint32_t major,
uint32_t minor)
{
uint32_t major,
uint32_t minor)
{
- char uuid_s[UUID_STR_LEN],
- clock_uuid_s[UUID_STR_LEN];
+ char uuid_s[
LTTNG_
UUID_STR_LEN],
+ clock_uuid_s[
LTTNG_
UUID_STR_LEN];
int ret = 0;
assert(session);
int ret = 0;
assert(session);
This page took
0.02369 seconds
and
4
git commands to generate.