Skip to content

Commit

Permalink
print QAT warnings to cerr
Browse files Browse the repository at this point in the history
Change-Id: I21c759c0800a259b9084a385f9555b0ca3ff8d02
  • Loading branch information
rdementi committed Nov 6, 2024
1 parent ef33733 commit bb4903c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpucounters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2666,7 +2666,7 @@ void PCM::initUncorePMUsDirect()
std::hex << devInfo.func << "/telemetry/control";
qatTLMCTLStr = readSysFS(qat_TLMCTL_sysfs_path.str().c_str(), true);
if(!qatTLMCTLStr.size()){
std::cout << "Warning: IDX - QAT telemetry feature of B:0x" << std::hex << devInfo.bus << ",D:0x" << devInfo.dev << ",F:0x" << devInfo.func \
std::cerr << "Warning: IDX - QAT telemetry feature of B:0x" << std::hex << devInfo.bus << ",D:0x" << devInfo.dev << ",F:0x" << devInfo.func \
<< " is NOT available, skipped." << std::dec << std::endl;
continue;
}
Expand Down

0 comments on commit bb4903c

Please sign in to comment.