X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-callstack.c;h=432fadb652f349566ae1eee7e646ed29f83b507b;hb=b874d3f33576e84221ae1be02505c47c0e7899bf;hp=2fa5f52dbf19929ff2686a1e594dc5d22cbd724a;hpb=a2b0231a9ae996cc69e48d75c338ad7d081a0f85;p=lttng-modules.git diff --git a/lttng-context-callstack.c b/lttng-context-callstack.c index 2fa5f52d..432fadb6 100644 --- a/lttng-context-callstack.c +++ b/lttng-context-callstack.c @@ -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; }