diff mbox series

[v2,8/9] htm: Only check threads for smt1 on target core

Message ID 20211125004138.120917-9-jniethe5@gmail.com
State Accepted
Headers show
Series Add P10 HTM support | expand

Commit Message

Jordan Niethe Nov. 25, 2021, 12:41 a.m. UTC
Targeting every thread is not necessary, instead only target the
threads of the targeted core.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
---
 src/htm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;