X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fadd_context.cpp;h=27d932c340ab8622225df5badd8ca1d99e5b3cce;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=076fa83a44a69b717f3fad2f719bcec8861f0559;hpb=261e7f1360fffe91b0b690c8a0715f4f6d2c4a7e;p=lttng-tools.git diff --git a/src/bin/lttng/commands/add_context.cpp b/src/bin/lttng/commands/add_context.cpp index 076fa83a4..27d932c34 100644 --- a/src/bin/lttng/commands/add_context.cpp +++ b/src/bin/lttng/commands/add_context.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2016 Jérémie Galarneau * * SPDX-License-Identifier: GPL-2.0-only @@ -18,10 +18,10 @@ #include -#include -#include +#include +#include -#include "../command.h" +#include "../command.hpp" static char *opt_channel_name; static char *opt_session_name; @@ -288,7 +288,7 @@ const struct ctx_opts { { (char *) "need_reschedule", CONTEXT_NEED_RESCHEDULE }, { (char *) "migratable", CONTEXT_MIGRATABLE }, { (char *) "callstack-kernel", CONTEXT_CALLSTACK_KERNEL }, -#if HAVE_MODULES_USERSPACE_CALLSTACK_CONTEXT +#ifdef HAVE_MODULES_USERSPACE_CALLSTACK_CONTEXT { (char *) "callstack-user", CONTEXT_CALLSTACK_USER }, #endif { (char *) "cgroup_ns", CONTEXT_CGROUP_NS },