We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a81806c commit 4309a0dCopy full SHA for 4309a0d
src/msr.cpp
@@ -238,7 +238,7 @@ MsrHandle::MsrHandle(uint32 cpu) : fd(-1), cpu_id(cpu)
238
delete[] path;
239
if (handle < 0)
240
{
241
- std::cerr << "PCM Error: can't open MSR handle for core " << cpu << "\n";
+ std::cerr << "PCM Error: can't open MSR handle for core " << cpu << " (" << strerror(errno) << ")\n";
242
std::cerr << "Try no-MSR mode by setting env variable PCM_NO_MSR=1\n";
243
throw std::exception();
244
}
0 commit comments