libs: Add smohook for getting cmdline opts
This commit is contained in:
@@ -329,7 +329,7 @@ void IoUringAssemblyEngine::stop(bool doAcquireLock)
|
||||
}
|
||||
}
|
||||
|
||||
if (!sawCancelCqe && OptionParser::getOptions().verbose) {
|
||||
if (!sawCancelCqe && smoHooksPtr->OptionParser_getOptions().verbose) {
|
||||
std::cerr << __func__ << ": no CQE seen for cancel operation\n";
|
||||
}
|
||||
}
|
||||
@@ -483,7 +483,7 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
if (OptionParser::getOptions().verbose)
|
||||
if (smoHooksPtr->OptionParser_getOptions().verbose)
|
||||
{
|
||||
std::cerr << __func__ << ": Invalid state: nSucceeded ("
|
||||
<< context->loop.nSucceeded.load()
|
||||
|
||||
Reference in New Issue
Block a user