projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad0b0d2
)
Fix: handle snapshot ENODATA in live timer
author
David Goulet
<dgoulet@efficios.com>
Thu, 13 Feb 2014 15:42:58 +0000
(10:42 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Thu, 13 Feb 2014 15:42:58 +0000
(10:42 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer-timer.c
patch
|
blob
|
blame
|
history
diff --git
a/src/common/consumer-timer.c
b/src/common/consumer-timer.c
index b867a35bf0d6e9d44da62698fa366f7e06bd2d70..dc6f2f7fc42833e551973191e4a21e8eed2ae2b9 100644
(file)
--- a/
src/common/consumer-timer.c
+++ b/
src/common/consumer-timer.c
@@
-154,8
+154,8
@@
static int check_kernel_stream(struct lttng_consumer_stream *stream)
}
ret = kernctl_snapshot(stream->wait_fd);
if (ret < 0) {
- if (errno != EAGAIN) {
-
ERR("Taking
kernel snapshot");
+ if (errno != EAGAIN
&& errno != ENODATA
) {
+
PERROR("live timer
kernel snapshot");
ret = -1;
goto error_unlock;
}
This page took
0.025698 seconds
and
4
git commands to generate.