[LTTng学习之旅]------Trace View初探

25 篇文章 6 订阅

View and analyze the recorded events

Once you have completed the Record Linux kernel events and Record user application events tutorials, you can inspect the recorded events.

There are many tools you can use to read LTTng traces:

Babeltrace 2

A rich, flexible trace manipulation toolkit which includes a versatile command-line interface (babeltrace2(1)), a C library, and Python 3 bindings so that you can easily process or convert an LTTng trace with your own script.

The Babeltrace 2 project ships with a plugin (babeltrace2-plugin-ctf(7)) which supports the format of the traces which LTTng produces, CTF.

Trace Compass

A graphical user interface for viewing and analyzing any type of logs or traces, including those of LTTng.

LTTng analyses

An experimental project which includes many high-level analyses of LTTng kernel traces, like scheduling statistics, interrupt frequency distribution, top CPU usage, and more.

Babeltrace我没尝试,看起来像是一个命令行工具。而且是LTTng自己出品的。

我们做技术研究的,一方面要向老板汇报。可视化当然要生动明确。另一方面要技术推广。太难上手也不行。即开即用最好。

我们直接来使用第二个 Trace Compass.

Trace Compass (eclipse.org)icon-default.png?t=M4ADhttps://www.eclipse.org/tracecompass/

打开这个网页,下载一个对于host 操作系统版本的软件。

打开软件 新建 trace工程。然后导入之前生成Trace log 的目录。

就可以看了。。。。很容易。

接下来就等深入探究了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小羊苏C

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值