[lttng-dev] 回复: Enamebling namespace contexts

Jonathan Rajotte-Julien jonathan.rajotte-julien at efficios.com
Mon Jan 4 10:36:18 EST 2021


Hi,

> The version of my lttng is: lttng (LTTng Trace Control) 2.10.7 - KeKriek.

Please upgrade to lttng 2.12.x. Container awareness was added in the 2.12 release
cycle.

Cheers

> Thanks,
> Serica
> 
> 
> ------------------ 原始邮件 ------------------
> 发件人:                                                                                                                        "Mathieu Desnoyers"                                                                                    <mathieu.desnoyers at efficios.com>;
> 发送时间: 2020年12月29日(星期二) 中午11:58
> 收件人: "Serica"<serica_law at qq.com>;
> 抄送: "lttng-dev"<lttng-dev at lists.lttng.org>;
> 主题: Re: [lttng-dev] Enamebling namespace contexts
> 
> 
> 
> ----- On Dec 23, 2020, at 9:55 PM, lttng-dev <lttng-dev at lists.lttng.org> wrote:
> 
> Hi,
> 
> ThI found that lttng is working on container awareness in this slides: https://archive.fosdem.org/2019/schedule/event/containers_lttng/attachments/slides/3419/export/events/attachments/containers_lttng/slides/3419/lttng_containers_fosdem19.pdf
> 
> On page #13, there is a command:  lttng add-context -k -t procname -t pid -t vpid -t tid -t vtid -t pid_ns, where pid_ns and other namespace identifiers are very useful for tracing containers. However, it seems like that lttng of current version doesn't support adding context pid_ns(Error: Unknown context type pid_ns). Do you know how to enable these features?
> 
> What version of LTTng do you use (output of "lttng --version"), and what is the output of "lttng add-context --list" ?
> 


More information about the lttng-dev mailing list