projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: relayd: tracefile rotation: viewer opening missing index file
[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..08199a16a080d438408b627d05f7b04778e2e36b 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;
- if (count & (count - 1))
+ if (count & (count - 1))
{
order++;
+ }
+ assert(order >= 0);
return order;
}
This page took
0.024351 seconds
and
4
git commands to generate.