[Pdbg] [PATCH 10/12] htm: Check threads !active instead of quiesced
Jordan Niethe
jniethe5 at gmail.com
Mon Aug 2 15:41:10 AEST 2021
The P10 thread_state quiesced status is
maint_mode && thread_quiesced && ict_empty
which is more than is needed for taking a core HTM trace.
Instead check the secondary threads are !active.
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 a08f244b2a3c..ba1175e110f3 100644
--- a/src/htm.c
+++ b/src/htm.c
@@ -230,7 +230,7 @@ static bool is_smt1(struct pdbg_target *target)
}
/* secondary thread */
- if (thread_status(target).quiesced)
+ if (!thread_status(target).active)
return true;
fail:
--
2.25.1
More information about the Pdbg
mailing list