To collect i915 ftrace events required to analyze the GPU utilization, your Linux kernel should be properly configured. If the Intel® VTune™ Profiler cannot start an analysis and provides an error message: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available. You need to rebuild and install the re-configured i915 module. For example, for kernel 4.14 and higher, these settings should be enabled: CONFIG_EXPERT=y and CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS=y.
If you update the kernel often, make sure to build the special kernel for GPU analysis.
Installing the kernel requires root permissions.
On CentOS* systems, if you update the kernel rarely, you can configure and rebuild only module i915 as follows:
To roll back the changes and load the original module i915:
Remove the folder with the new driver from /etc/depmod.d/* files:
sudo rm /etc/depmod.d/00-extra.conf
Update initramfs:
sudo depmod sudo update-initramfs -u
Reboot the machine:
sudo reboot