什么是鳄鱼? ARM DS-5 streamline 和 gator 之间的 link 是什么?

What is gator? What is the link between ARM DS-5 streamline and gator?

在 Streamline 文档中,经常提到 gator。谁能解释一下这个鳄鱼是什么,它和 Streamline 之间的 link 是什么?

来自chapter 1 of the user guide

...To get started using it, you must configure your target and ensure that gator, the mechanism that Streamline uses to communicate with your target, is running on the target.

性能数据自然不会自行聚合和移动;大多数情况下,它只是短暂地出现在 PMU 寄存器中,然后消失在以太中,再也不会出现。作为用户,我们需要一些事情来捕获它。如果我们在目标系统本身上进行自托管分析,我们可能会使用类似 perf tools to record the data locally and analyse it. If we instead want that data collected and spat out via some communication protocol to analyse with Streamline running on a different host system, we need to run something else on the target system that will do that job for us. Gator is that thing.

的东西

Gator is a target agent required to run on the ARM Linux target in order for ARM Streamline to operate.

Gator 可能 运行 在内核 space 或用户 space 模式下。此处提供更多信息

Gator 在目标平台上运行以收集性能监控统计信息并将它们暴露给呈现它们的外部工具 (Streamline)。 Gator 由一个内核模块和一个用户 space 守护进程组成。内核模块 定期从处理器的性能监控单元 (PMU) 中抓取统计数据。用户 space 守护进程是外部工具为了检索 PMU 数据而连接的。使用 gator 的好处之一是它不需要 用于收集性能数据的专用硬件(例如 ICE)。