问题标签 [intel-pmu]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
19 浏览

performance - 英特尔优化参考手册附录 B.8 中的事件比率是否适用于其他微架构?

Intel 64 和 IA-32 架构优化参考手册(2021 年 6 月)的附录 B.8包含用于性能分析、工作负载表征和性能调整的有用事件比率。但是,INTEL CORE MICROARCHITECTURE的标题事件比率(重点是我的)似乎表明这些比率仅适用于核心微架构。

这些比率可以与其他微架构一起使用吗?如果没有,这些比率记录在哪里?

0 投票
0 回答
25 浏览

linux-kernel - Perf 不能使用来自内核模块的符号

我想跟踪我使用 Intel PT 编写的内核模块,但我无法通过性能识别来自我的内核模块的符号。为了简单起见,我尝试使用perf record -e intel_pt// -a --filter 'filter print_hello' sleep 1. 这会导致以下错误:

在没有过滤器的情况下使用perf record -a -e intel_pt//k sleep 1然后对perf script输出进行grep 处理print_hello也不会返回任何内容。

然而,perf kallsyms print_hello回报

所以我认为 perf 毕竟可以找到符号。

为什么会发生这种情况?