@@ -921,7 +921,7 @@ class QATTelemetryVirtualGeneralConfigRegister : public HWRegister
921
921
operation = PCM::IDX_OPERATION (val);
922
922
#ifdef __linux__
923
923
std::ostringstream sysfs_path (std::ostringstream::out);
924
- std::string telemetry_filename;
924
+ std::string telemetry_filename;
925
925
switch (operation)
926
926
{
927
927
case PCM::QAT_TLM_START: // enable
@@ -2405,13 +2405,13 @@ void PCM::initUncorePMUsDirect()
2405
2405
for (auto & devInfo : devInfos)
2406
2406
{
2407
2407
std::ostringstream qat_TLMCTL_sysfs_path (std::ostringstream::out);
2408
- /* parse telemetry follow rule of out of tree driver*/
2408
+ /* parse telemetry follow rule of out of tree driver*/
2409
2409
qat_TLMCTL_sysfs_path << std::string (" /sys/bus/pci/devices/" ) <<
2410
2410
std::hex << std::setw (4 ) << std::setfill (' 0' ) << devInfo.domain << " :" <<
2411
2411
std::hex << std::setw (2 ) << std::setfill (' 0' ) << devInfo.bus << " :" <<
2412
2412
std::hex << std::setw (2 ) << std::setfill (' 0' ) << devInfo.dev << " ." <<
2413
2413
std::hex << devInfo.func << " /telemetry/control" ;
2414
- std::string qatTLMCTLStr = readSysFS (qat_TLMCTL_sysfs_path.str ().c_str (), true );
2414
+ std::string qatTLMCTLStr = readSysFS (qat_TLMCTL_sysfs_path.str ().c_str (), true );
2415
2415
if (!qatTLMCTLStr.size ()) // check TLM feature available or NOT.
2416
2416
{
2417
2417
qat_TLMCTL_sysfs_path.str (" " );
@@ -2422,11 +2422,11 @@ void PCM::initUncorePMUsDirect()
2422
2422
std::hex << std::setw (2 ) << std::setfill (' 0' ) << devInfo.dev << " ." <<
2423
2423
std::hex << devInfo.func << " /telemetry/control" ;
2424
2424
qatTLMCTLStr = readSysFS (qat_TLMCTL_sysfs_path.str ().c_str (), true );
2425
- if (!qatTLMCTLStr.size ()){
2425
+ if (!qatTLMCTLStr.size ()){
2426
2426
std::cout << " Warning: IDX - QAT telemetry feature of B:0x" << std::hex << devInfo.bus << " ,D:0x" << devInfo.dev << " ,F:0x" << devInfo.func \
2427
2427
<< " is NOT available, skipped." << std::dec << std::endl;
2428
- continue ;
2429
- }
2428
+ continue ;
2429
+ }
2430
2430
}
2431
2431
idxPMUs[IDX_QAT].push_back (createQATPMU (devInfo.numa_node , devInfo.socket_id , devInfo.domain , devInfo.bus , devInfo.dev , devInfo.func ));
2432
2432
}
0 commit comments