projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: Move python test app to `tests/utils/testapp` directory
[lttng-tools.git]
/
tests
/
unit
/
test_kernel_data.c
diff --git
a/tests/unit/test_kernel_data.c
b/tests/unit/test_kernel_data.c
index 4ce6f6c745b0bdff5820227e1c26d0f7b573bb50..7ed0453af603b689c918866282b38284b3d03fd6 100644
(file)
--- a/
tests/unit/test_kernel_data.c
+++ b/
tests/unit/test_kernel_data.c
@@
-6,13
+6,13
@@
*/
#include <assert.h>
*/
#include <assert.h>
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
+#include <common/compat/errno.h>
#include <bin/lttng-sessiond/trace-kernel.h>
#include <common/defaults.h>
#include <bin/lttng-sessiond/trace-kernel.h>
#include <common/defaults.h>
@@
-149,7
+149,7
@@
static void test_create_kernel_event(void)
ok(event->fd == -1 &&
event->enabled == 1 &&
ok(event->fd == -1 &&
event->enabled == 1 &&
- event->event->instrumentation == LTTNG_KERNEL_TRACEPOINT &&
+ event->event->instrumentation == LTTNG_KERNEL_
ABI_
TRACEPOINT &&
strlen(event->event->name),
"Validate kernel event");
strlen(event->event->name),
"Validate kernel event");
This page took
0.02362 seconds
and
4
git commands to generate.