From 9b8f782029e40699f24bdb3a7630cd15ecc89f7e Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Wed, 18 Jun 2014 22:19:40 -0400 Subject: [PATCH] Fix: Add vpid, vppid and vtid info in add-context help Acked-by: Mathieu Desnoyers Signed-off-by: Francis Deslauriers Signed-off-by: David Goulet --- src/bin/lttng/commands/add_context.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/lttng/commands/add_context.c b/src/bin/lttng/commands/add_context.c index 6483c9891..e823b1e6f 100644 --- a/src/bin/lttng/commands/add_context.c +++ b/src/bin/lttng/commands/add_context.c @@ -322,6 +322,9 @@ static void usage(FILE *ofp) fprintf(ofp, " TYPE can be one of the strings below:\n"); print_ctx_type(ofp); fprintf(ofp, "\n"); + fprintf(ofp, "Note that the vpid, vppid and vtid context types represent the virtual process id,\n" + "virtual parent process id and virtual thread id as seen from the current execution context\n" + "as opposed to the pid, ppid and tid which are kernel internal data structures.\n\n"); fprintf(ofp, "Example:\n"); fprintf(ofp, "This command will add the context information 'prio' and two perf\n" "counters (hardware branch misses and cache misses), to all channels\n" -- 2.34.1