- /* Create lttng domain */
- if (opt_kernel) {
- dom.type = LTTNG_DOMAIN_KERNEL;
- } else if (opt_userspace) {
- dom.type = LTTNG_DOMAIN_UST;
- } else {
- /*
- * Set handle with domain set to 0. This means to the session daemon
- * that the next action applies on the tracing session rather then the
- * domain specific session.
- *
- * XXX: This '0' value should be a domain enum value.
- */
- dom.type = 0;
- }