Enable userspace callstack contexts only on x86
[deliverable/lttng-modules.git] / lttng-context-callstack.c
index 2fa5f52dbf19929ff2686a1e594dc5d22cbd724a..432fadb652f349566ae1eee7e646ed29f83b507b 100644 (file)
@@ -367,8 +367,10 @@ int lttng_add_callstack_to_ctx(struct lttng_ctx **ctx, int type)
        switch (type) {
        case LTTNG_KERNEL_CONTEXT_CALLSTACK_KERNEL:
                return __lttng_add_callstack_generic(ctx, CALLSTACK_KERNEL);
+#ifdef CONFIG_X86
        case LTTNG_KERNEL_CONTEXT_CALLSTACK_USER:
                return __lttng_add_callstack_generic(ctx, CALLSTACK_USER);
+#endif
        default:
                return -EINVAL;
        }
This page took 0.023336 seconds and 5 git commands to generate.