Support the hostname context
[lttng-modules.git] / lttng-abi.c
index 26a02edcb0a82231bad60526b3a688eb941fe5c3..eadf0a881e9abb6f364fc57ab44f5fde8d695528 100644 (file)
@@ -195,6 +195,8 @@ long lttng_abi_add_context(struct file *file,
                                ctx);
        case LTTNG_KERNEL_CONTEXT_PROCNAME:
                return lttng_add_procname_to_ctx(ctx);
+       case LTTNG_KERNEL_CONTEXT_HOSTNAME:
+               return lttng_add_hostname_to_ctx(ctx);
        default:
                return -EINVAL;
        }
This page took 0.024478 seconds and 4 git commands to generate.