llkd: add bit_wait_io to stack monitoring
This will discover if the I/O is starved.
Add the ability to search for " <symbol>.cfi+0x".
Cleaned up README.md to reflect current defaults.
Test: none
Bug: 113648929
Change-Id: I990a54f99de536406fd752a490e60f962380d71a
diff --git a/llkd/libllkd.cpp b/llkd/libllkd.cpp
index 2727aab..d92c0cd 100644
--- a/llkd/libllkd.cpp
+++ b/llkd/libllkd.cpp
@@ -726,7 +726,8 @@
char match = -1;
for (const auto& stack : llkCheckStackSymbols) {
if (++idx < 0) break;
- if (kernel_stack.find(" "s + stack + "+0x") != std::string::npos) {
+ if ((kernel_stack.find(" "s + stack + "+0x") != std::string::npos) ||
+ (kernel_stack.find(" "s + stack + ".cfi+0x") != std::string::npos)) {
match = idx;
break;
}