projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: missing hostname context
[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 b580d037b9924dfbbea909c9561ab7587ed4b3f1..aec2d4df70d8ef991f3d54fdfa1fd4d315ffc019 100644
(file)
--- a/
src/bin/lttng/commands/add_context.c
+++ b/
src/bin/lttng/commands/add_context.c
@@
-67,6
+67,7
@@
enum context_type {
CONTEXT_PPID = 8,
CONTEXT_VPPID = 9,
CONTEXT_PTHREAD_ID = 10,
CONTEXT_PPID = 8,
CONTEXT_VPPID = 9,
CONTEXT_PTHREAD_ID = 10,
+ CONTEXT_HOSTNAME = 11,
};
/*
};
/*
@@
-203,6
+204,7
@@
const struct ctx_opts {
{ "vtid", CONTEXT_VTID },
{ "ppid", CONTEXT_PPID },
{ "vppid", CONTEXT_VPPID },
{ "vtid", CONTEXT_VTID },
{ "ppid", CONTEXT_PPID },
{ "vppid", CONTEXT_VPPID },
+ { "hostname", CONTEXT_HOSTNAME },
/* Perf options */
PERF_HW(cpu-cycles, CPU_CYCLES),
PERF_HW(cycles, CPU_CYCLES),
/* Perf options */
PERF_HW(cpu-cycles, CPU_CYCLES),
PERF_HW(cycles, CPU_CYCLES),
This page took
0.023249 seconds
and
4
git commands to generate.