projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: race between consumer pause and trace start/stop
[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 6a35ea54a602489df1d35df9995a6f6cad5f8a14..ff1b75df4f3025f934398b6b9218dd4d34fda6cc 100644
(file)
--- a/
tests/unit/test_kernel_data.c
+++ b/
tests/unit/test_kernel_data.c
@@
-38,6
+38,7
@@
int lttng_opt_quiet = 1;
int lttng_opt_verbose;
int lttng_opt_mi;
int lttng_opt_quiet = 1;
int lttng_opt_verbose;
int lttng_opt_mi;
+struct notification_thread_handle *notification_thread_handle;
int ust_consumerd32_fd;
int ust_consumerd64_fd;
int ust_consumerd32_fd;
int ust_consumerd64_fd;
@@
-115,8
+116,11
@@
static void test_create_kernel_channel(void)
{
struct ltt_kernel_channel *chan;
struct lttng_channel attr;
{
struct ltt_kernel_channel *chan;
struct lttng_channel attr;
+ struct lttng_channel_extended extended;
memset(&attr, 0, sizeof(attr));
memset(&attr, 0, sizeof(attr));
+ memset(&extended, 0, sizeof(extended));
+ attr.attr.extended.ptr = &extended;
chan = trace_kernel_create_channel(&attr);
ok(chan != NULL, "Create kernel channel");
chan = trace_kernel_create_channel(&attr);
ok(chan != NULL, "Create kernel channel");
This page took
0.025152 seconds
and
5
git commands to generate.