projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: document the notification API
[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 ad4666b6ff675b5275d1f4034ba4ee1d24af43b1..ff1b75df4f3025f934398b6b9218dd4d34fda6cc 100644
(file)
--- a/
tests/unit/test_kernel_data.c
+++ b/
tests/unit/test_kernel_data.c
@@
-116,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.023663 seconds
and
4
git commands to generate.