projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: Replace prove by autotools tap runner
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
cmd.c
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index 9af6d9d4acce64b9b9855e46ed462a624573c693..ba963ffc53c5e15f44ac756ce2842f9767d27ff5 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-188,6
+188,8
@@
static int get_ust_runtime_stats(struct ltt_session *session,
struct ltt_ust_session *usess;
usess = session->ust_session;
struct ltt_ust_session *usess;
usess = session->ust_session;
+ assert(discarded_events);
+ assert(lost_packets);
if (!usess || !session->has_been_started) {
*discarded_events = 0;
if (!usess || !session->has_been_started) {
*discarded_events = 0;
@@
-216,6
+218,7
@@
static int get_ust_runtime_stats(struct ltt_session *session,
*lost_packets += uchan->per_pid_closed_app_lost;
} else {
ERR("Unsupported buffer type");
*lost_packets += uchan->per_pid_closed_app_lost;
} else {
ERR("Unsupported buffer type");
+ assert(0);
ret = -1;
goto end;
}
ret = -1;
goto end;
}
This page took
0.024538 seconds
and
4
git commands to generate.