这句话在perf工具的上下文中是什么意思:“当精确(确切的事件)时,“支持地址”。
此行出现在 perf 工具中的内存事件下。 CPU:英特尔至强金牌
This line appears under memory events in perf tool.
CPU: Intel Xeon Gold
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“精确”事件是指使用PEB而不是计数器溢出时传统的射击中断。取而代之的是,它将样本写入缓冲区中以稍后收集,因此它可以将其归因于正确的指令,而无需管道 /退休效果延迟它(例如等待直到当前持久的指令退休,我认为可以确保前进的进度,从而导致“造成”滑雪”)。
Pebs缓冲区还为其提供了一个放置其他数据的地方,例如与触发记录样本的事件相关的地址。
https://easyperf.net/blog/2018/06/08/advanced-profling-topics-pebs-pebs-pebs-pebs-and-lbr,-lbr,-lbr,processor-event-smpling-pebs 以及
perf
如何将其用于事件:pp
-"Precise" events mean using PEBS instead of the traditional firing an interrupt when the counter overflows. Instead it writes a sample in a buffer to be collected later, so it can attribute it to the right instruction without pipeline / retirement effects delaying it (e.g. waiting until the currently-last instruction retires, I think to ensure forward progress, causing a "skid").
The PEBS buffer also gives it a place to put additional data, like an address associated with the event that triggered recording a sample.
https://easyperf.net/blog/2018/06/08/Advanced-profiling-topics-PEBS-and-LBR#processor-event-based-sampling-pebs
Also related with discussion about or details of PEBS and how
perf
uses it forevent:pp
-