projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: sessiond: ust session is inactive during ust_app_global_update
[lttng-tools.git]
/
src
/
common
/
trace-chunk.c
diff --git
a/src/common/trace-chunk.c
b/src/common/trace-chunk.c
index ec52e5d2b3e30598216e26bf1f8eea6fd7a2ae9a..a18b2077e5dc9c35680d96507c7491f515824471 100644
(file)
--- a/
src/common/trace-chunk.c
+++ b/
src/common/trace-chunk.c
@@
-1834,7
+1834,12
@@
bool lttng_trace_chunk_ids_equal(const struct lttng_trace_chunk *chunk_a,
{
bool equal = false;
- if (!chunk_a || !chunk_b) {
+ if (chunk_a == chunk_b) {
+ equal = true;
+ goto end;
+ }
+
+ if (!!chunk_a ^ !!chunk_b) {
goto end;
}
This page took
0.023252 seconds
and
4
git commands to generate.