Does EC2 hypervisor vPMU Performance Counters support stack collection?

0

I'm looking to profile and sample my application and system performance using Intel VTune, which internally relies on Hardware event based analysis provided by the arch_perfmon cpu extension available on larger instances spanning a single socket.

The setup seems to work until attempting to collect stack information, running the built-in self-test shows the following errors:

HW event-based analysis with stacks
Example of analysis types: Hotspots with HW event-based sampling and call stacks
    Collection: Fail
vtune: Warning: To profile kernel modules during the session, make sure they are available in the /lib/modules/kernel_version/ location.
vtune: Error: amplxe-perf:
callchain: type DWARF
callchain: stack dump size 1024
Using CPUID GenuineIntel-6-6A-6
DEBUGINFOD_URLS=
Compression enabled, disabling build id collection at the end of the session.
Lowering default frequency rate from 4000 to 2750.
Please consider tweaking /proc/sys/kernel/perf_event_max_sample_rate.
nr_cblocks: 0
affinity: SYS
mmap flush: 1
comp level: 1
WARNING: The use of --call-graph=dwarf may require all the user registers, specifying a subset with --user-regs may render DWARF unwinding unreliable, so the minimal registers set (IP, SP) is explicitly forced.
WARNING: The use of --call-graph=dwarf may require all the user registers, specifying a subset with --user-regs may render DWARF unwinding unreliable, so the minimal registers set (IP, SP) is explicitly forced.
Error:
CPU_CLK_UNHALTED.THREAD: PMU Hardware or event type doesn't support branch stack sampling.

Is this a limitation of the EC2 hypervisor, of the Intel processors used or something else preventing this from working?

profile picture
已提问 1 年前344 查看次数
1 回答
0

Assuming vTune uses the PEBS extensions of the PMUs it is currently not supported on virtualised EC2 Nitro instances.

AWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则