[Pdbg] [PATCH 08/12] htm: Only check threads for smt1 on target core
Jordan Niethe
jniethe5 at gmail.com
Mon Aug 2 15:41:08 AEST 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 e0c746d810d2..a08f244b2a3c 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