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
질문됨 일 년 전351회 조회
1개 답변
0

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

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠