diff mbox series

[08/12] htm: Only check threads for smt1 on target core

Message ID 20210802054112.461728-9-jniethe5@gmail.com
State Superseded
Headers show
Series P10 HTM Support | expand

Commit Message

Jordan Niethe Aug. 2, 2021, 5: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 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;