projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mi: mi backend + mi for command version
[lttng-tools.git]
/
tests
/
unit
/
test_ust_data.c
diff --git
a/tests/unit/test_ust_data.c
b/tests/unit/test_ust_data.c
index 92f8771898b5167ffd47dc7cf32b52bc8e9a95bb..dd00089266ad7770ce4c64e18b1340439f167c9b 100644
(file)
--- a/
tests/unit/test_ust_data.c
+++ b/
tests/unit/test_ust_data.c
@@
-41,9
+41,10
@@
/* Number of TAP tests in this file */
#define NUM_TESTS 10
/* Number of TAP tests in this file */
#define NUM_TESTS 10
-/* For
lttnger
r.h */
+/* For
erro
r.h */
int lttng_opt_quiet = 1;
int lttng_opt_verbose;
int lttng_opt_quiet = 1;
int lttng_opt_verbose;
+int lttng_opt_mi;
int ust_consumerd32_fd;
int ust_consumerd64_fd;
int ust_consumerd32_fd;
int ust_consumerd64_fd;
@@
-82,7
+83,7
@@
static void test_create_one_ust_session(void)
ok(usess != NULL, "Create UST session");
ok(usess->id == 42 &&
ok(usess != NULL, "Create UST session");
ok(usess->id == 42 &&
- usess->
start_trac
e == 0 &&
+ usess->
activ
e == 0 &&
usess->domain_global.channels != NULL &&
usess->uid == 0 &&
usess->gid == 0,
usess->domain_global.channels != NULL &&
usess->uid == 0 &&
usess->gid == 0,
@@
-124,7
+125,7
@@
static void test_create_ust_event(void)
ev.type = LTTNG_EVENT_TRACEPOINT;
ev.loglevel_type = LTTNG_EVENT_LOGLEVEL_ALL;
ev.type = LTTNG_EVENT_TRACEPOINT;
ev.loglevel_type = LTTNG_EVENT_LOGLEVEL_ALL;
- event = trace_ust_create_event(&ev, NULL, NULL);
+ event = trace_ust_create_event(&ev, NULL, NULL
, NULL
);
ok(event != NULL, "Create UST event");
ok(event != NULL, "Create UST event");
@@
-159,7
+160,7
@@
static void test_create_ust_event_exclusion(void)
exclusion->count = 1;
strncpy((char *)(exclusion->names), get_random_string(), LTTNG_SYMBOL_NAME_LEN);
exclusion->count = 1;
strncpy((char *)(exclusion->names), get_random_string(), LTTNG_SYMBOL_NAME_LEN);
- event = trace_ust_create_event(&ev, NULL, exclusion);
+ event = trace_ust_create_event(&ev, NULL,
NULL,
exclusion);
ok(event != NULL, "Create UST event with exclusion");
ok(event != NULL, "Create UST event with exclusion");
This page took
0.025425 seconds
and
4
git commands to generate.