projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: handle backward compatibility with lttng-modules 2.7
[lttng-tools.git]
/
src
/
common
/
health
/
health.c
diff --git
a/src/common/health/health.c
b/src/common/health/health.c
index 49f6dc0ab91d7c7b3a3a1c8adfc6a360916ddddc..830b6f0ef2829e7550fcdded38b17ae8837f265c 100644
(file)
--- a/
src/common/health/health.c
+++ b/
src/common/health/health.c
@@
-16,7
+16,7
@@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _
GNU
_SOURCE
+#define _
LGPL
_SOURCE
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
@@
-171,7
+171,7
@@
static int validate_state(struct health_app *ha, struct health_state *state)
last = state->last;
current = uatomic_read(&state->current);
last = state->last;
current = uatomic_read(&state->current);
- ret = clock_gettime(CLOCK_MONOTONIC, ¤t_time);
+ ret =
lttng_
clock_gettime(CLOCK_MONOTONIC, ¤t_time);
if (ret < 0) {
PERROR("Error reading time\n");
/* error */
if (ret < 0) {
PERROR("Error reading time\n");
/* error */
This page took
0.024027 seconds
and
4
git commands to generate.