I have installed the latest VTune 2019 update 4 on an Intel Xeon Platinum 8124M, and also installed the sampling drivers in order to sample all what is possible. I have root privilegues, so permissions are not a problem.
After building and loading the sampling drivers, I ran the VTune self-checker script (amplxe-self-checker.sh), but observed that memory-access collection is not enabled:
HW event-based analysis with uncore events Example of analysis types: Memory Access Collection: Fail amplxe: Warning: The "stackStitching" knob is not applicable to this analysis type. amplxe: Error: Cannot collect memory bandwidth data. Make sure the sampling driver is installed and enabled on your system. See the Sampling Drivers help topic for more details. Note that memory bandwidth collection is not possible if you are profiling inside a virtualized environment.
An excerpt from "lsmod":
$ lsmod Module Size Used by vtsspp 393216 0 sep5 856064 0 socperf3 585728 1 sep5 pax 16384 0
Can anyone help me on enabling that feature?
Full selfchecker output is attached, many thanks!
According to these warnings:
amplxe: Warning: VTune Amplifier driver with insufficient permission is detected on the system.
amplxe: Warning: Consider setting proper driver permissions (see the "Sampling Drivers" help topic).
amplxe: Warning: Otherwise, the driverless collection with limited analysis support will be enabled by default.
The VTune driver is not working in your case and perf-based flow is active. Please check the driver permissions: