projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: Grammar fix in agent header
[lttng-tools.git]
/
src
/
common
/
consumer-timer.c
diff --git
a/src/common/consumer-timer.c
b/src/common/consumer-timer.c
index 1408052431aac3613db4e912c505320dd497e1ba..646d32342cdfa0a7a7552332dd3f5da2c90cc680 100644
(file)
--- a/
src/common/consumer-timer.c
+++ b/
src/common/consumer-timer.c
@@
-17,6
+17,7
@@
*/
#define _GNU_SOURCE
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <assert.h>
#include <inttypes.h>
#include <signal.h>
#include <assert.h>
#include <inttypes.h>
#include <signal.h>
@@
-459,7
+460,7
@@
void consumer_timer_live_stop(struct lttng_consumer_channel *channel)
* Block the RT signals for the entire process. It must be called from the
* consumer main before creating the threads
*/
* Block the RT signals for the entire process. It must be called from the
* consumer main before creating the threads
*/
-
void
consumer_signal_init(void)
+
int
consumer_signal_init(void)
{
int ret;
sigset_t mask;
{
int ret;
sigset_t mask;
@@
-470,7
+471,9
@@
void consumer_signal_init(void)
if (ret) {
errno = ret;
PERROR("pthread_sigmask");
if (ret) {
errno = ret;
PERROR("pthread_sigmask");
+ return -1;
}
}
+ return 0;
}
/*
}
/*
This page took
0.024253 seconds
and
4
git commands to generate.