Fix context mapping for UST and kernel
[lttng-tools.git] / src / bin / lttng / commands / add_context.c
index a7ab4268ac5401805d83d675639962d834f0fb50..6c374d17da93ffbd16174d88883f7dec7a35f908 100644 (file)
@@ -67,6 +67,7 @@ enum context_type {
        CONTEXT_VTID         = 7,
        CONTEXT_PPID         = 8,
        CONTEXT_VPPID        = 9,
+       CONTEXT_PTHREAD_ID   = 10,
 };
 
 /*
@@ -205,6 +206,7 @@ const struct ctx_opts {
        { "nice", CONTEXT_NICE },
        { "vpid", CONTEXT_VPID },
        { "tid", CONTEXT_TID },
+       { "pthread_id", CONTEXT_PTHREAD_ID },
        { "vtid", CONTEXT_VTID },
        { "ppid", CONTEXT_PPID },
        { "vppid", CONTEXT_VPPID },
This page took 0.032639 seconds and 5 git commands to generate.