From bb4903c186b13f913cb743f6446c771a713cf8f9 Mon Sep 17 00:00:00 2001 From: "Dementiev, Roman" Date: Wed, 6 Nov 2024 09:36:18 +0100 Subject: [PATCH] print QAT warnings to cerr Change-Id: I21c759c0800a259b9084a385f9555b0ca3ff8d02 --- src/cpucounters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpucounters.cpp b/src/cpucounters.cpp index d0d7f545..60e52ade 100644 --- a/src/cpucounters.cpp +++ b/src/cpucounters.cpp @@ -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; }