[Pdbg] [PATCH v2 8/9] htm: Only check threads for smt1 on target core
Jordan Niethe
jniethe5 at gmail.com
Thu Nov 25 11:41:37 AEDT 2021
Targeting every thread is not necessary, instead only target the
threads of the targeted core.
Signed-off-by: Jordan Niethe <jniethe5 at gmail.com>
---
src/htm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/htm.c b/src/htm.c
index c8502d5ad6d6..f55f3753b083 100644
--- a/src/htm.c
+++ b/src/htm.c
@@ -291,7 +291,7 @@ int run_htm(int optind, int argc, char *argv[])
}
/* Check that powersave is off */
- pdbg_for_each_class_target("thread", target) {
+ pdbg_for_each_target("thread", core_target, target) {
status = pdbg_target_probe(target);
if (status == PDBG_TARGET_NONEXISTENT)
continue;
--
2.25.1
More information about the Pdbg
mailing list