I am trying to profile an MPI+CUDA application using Intel VTune Amplifier on OpenSuse Leap 15.0. However when I pass the -collect option as "cpugpu-concurrency" I am facing an error as below:
amplxe: Warning: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available.
amplxe: Warning: Collection of GPU usage events cannot be enabled. i915 ftrace events are not available.
amplxe: Error: Ftrace is already in use. Make sure to stop previous collection first.
amplxe: Collection failed.
amplxe: Fatal error: Unknown critical error
amplxe: Internal Error
I checked the CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS option in the config file under boot directory and the following options were not set.
#
# drm/i915 Debugging
#
# CONFIG_DRM_I915_WERROR is not set
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_SW_FENCE_CHECK_DAG is not set
# CONFIG_DRM_I915_SELFTEST is not set
# CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set
Can anyone kindly provide the steps to modify the config file and rebuild the kernel for Opensuse Leap 15.0?
Thanks in advance.