int lttng_opt_quiet = 1;
int lttng_opt_verbose;
+int ust_consumerd32_fd;
+int ust_consumerd64_fd;
+
static const char alphanum[] =
"0123456789"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
kern->metadata->conf->attr.num_subbuf
== DEFAULT_METADATA_SUBBUF_NUM &&
kern->metadata->conf->attr.switch_timer_interval
- == DEFAULT_CHANNEL_SWITCH_TIMER &&
+ == DEFAULT_KERNEL_CHANNEL_SWITCH_TIMER &&
kern->metadata->conf->attr.read_timer_interval
- == DEFAULT_CHANNEL_READ_TIMER &&
+ == DEFAULT_KERNEL_CHANNEL_READ_TIMER &&
kern->metadata->conf->attr.output
== DEFAULT_KERNEL_CHANNEL_OUTPUT,
"Validate kernel session metadata");
int main(int argc, char **argv)
{
- diag("Kernel data structure unit test");
-
plan_tests(NUM_TESTS);
+ diag("Kernel data structure unit test");
+
test_create_one_kernel_session();
test_create_kernel_metadata();
test_create_kernel_channel();