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
asked a year ago318 views
1 Answer
0

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

AWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions