projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add kernel namespace contexts
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
add_context.c
diff --git
a/src/bin/lttng/commands/add_context.c
b/src/bin/lttng/commands/add_context.c
index 7aef4d50f7dd575e34c704f5b2a82896af8f5db1..a9ef0ddade83a96b87d77eceebc2cc69e1ca764e 100644
(file)
--- a/
src/bin/lttng/commands/add_context.c
+++ b/
src/bin/lttng/commands/add_context.c
@@
-86,6
+86,13
@@
enum context_type {
CONTEXT_MIGRATABLE = 19,
CONTEXT_CALLSTACK_KERNEL = 20,
CONTEXT_CALLSTACK_USER = 21,
CONTEXT_MIGRATABLE = 19,
CONTEXT_CALLSTACK_KERNEL = 20,
CONTEXT_CALLSTACK_USER = 21,
+ CONTEXT_CGROUP_NS = 22,
+ CONTEXT_IPC_NS = 23,
+ CONTEXT_MNT_NS = 24,
+ CONTEXT_NET_NS = 25,
+ CONTEXT_PID_NS = 26,
+ CONTEXT_USER_NS = 27,
+ CONTEXT_UTS_NS = 28,
};
/*
};
/*
@@
-246,6
+253,13
@@
const struct ctx_opts {
#if HAVE_MODULES_USERSPACE_CALLSTACK_CONTEXT
{ "callstack-user", CONTEXT_CALLSTACK_USER },
#endif
#if HAVE_MODULES_USERSPACE_CALLSTACK_CONTEXT
{ "callstack-user", CONTEXT_CALLSTACK_USER },
#endif
+ { "cgroup_ns", CONTEXT_CGROUP_NS },
+ { "ipc_ns", CONTEXT_IPC_NS },
+ { "mnt_ns", CONTEXT_MNT_NS },
+ { "net_ns", CONTEXT_NET_NS },
+ { "pid_ns", CONTEXT_PID_NS },
+ { "user_ns", CONTEXT_USER_NS },
+ { "uts_ns", CONTEXT_UTS_NS },
/* Perf options */
/* Perf options */
This page took
0.02624 seconds
and
5
git commands to generate.