After I have installed VTune Amplifier XE 2015 on CentOS system my application, which was using Intel PCM to report various statistics (L2, LLC miss, etc), returns 0s instead of hardware event counter values. Unloading sep driver did change that behavior.
Is there a way to use PCM library with an installed VTune on the same machine?
I believe that both VTune and PCM can be installed on the same machine but only one can be active at a time. Perhaps you were trying to run both VTune and PCM at the same time? The 2 tools use the same hardware resources so they can't run at the same time.
As Pat has pointed out, VTune and PCM are using the same device, the performance monitoring units (PMUs). Therefore, there is a conflict if both drivers are used at the same time. PCM implements the PMU sharing guideline but unfortunately VTune doesn't. You might therefore see funny results if you use both at the same time. This includes zero, negative or extremely high values.
The recommended solution is exactly what you did: Unload the VTune driver while using PCM.