projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove lttng_event_rule_tracepoint
[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 994cd49eb32037b898dc3fcac9853c3681ebd9a9..b33eb1d14ef22545b73baeceed6d6a19424b9e8c 100644
(file)
--- a/
src/bin/lttng/commands/add_context.c
+++ b/
src/bin/lttng/commands/add_context.c
@@
-95,6
+95,7
@@
enum context_type {
CONTEXT_VGID = 38,
CONTEXT_VEGID = 39,
CONTEXT_VSGID = 40,
CONTEXT_VGID = 38,
CONTEXT_VEGID = 39,
CONTEXT_VSGID = 40,
+ CONTEXT_TIME_NS = 41,
};
/*
};
/*
@@
-264,6
+265,7
@@
const struct ctx_opts {
{ (char *) "mnt_ns", CONTEXT_MNT_NS },
{ (char *) "net_ns", CONTEXT_NET_NS },
{ (char *) "pid_ns", CONTEXT_PID_NS },
{ (char *) "mnt_ns", CONTEXT_MNT_NS },
{ (char *) "net_ns", CONTEXT_NET_NS },
{ (char *) "pid_ns", CONTEXT_PID_NS },
+ { (char *) "time_ns", CONTEXT_TIME_NS },
{ (char *) "user_ns", CONTEXT_USER_NS },
{ (char *) "uts_ns", CONTEXT_UTS_NS },
{ (char *) "uid", CONTEXT_UID },
{ (char *) "user_ns", CONTEXT_USER_NS },
{ (char *) "uts_ns", CONTEXT_UTS_NS },
{ (char *) "uid", CONTEXT_UID },
@@
-1147,8
+1149,8
@@
int cmd_add_context(int argc, const char **argv)
goto end;
}
goto end;
}
- ret = print_missing_or_multiple_domains(
opt_kernel + opt_userspace +
- opt_
jul + opt_log4j
);
+ ret = print_missing_or_multiple_domains(
+ opt_
kernel + opt_userspace + opt_jul + opt_log4j, true
);
if (ret) {
ret = CMD_ERROR;
goto end;
if (ret) {
ret = CMD_ERROR;
goto end;
This page took
0.02758 seconds
and
4
git commands to generate.