[Pdbg] [PATCH] htm: Fixed '-l' option to work as intended with new probing

Rashmica Gupta rashmica.g at gmail.com
Wed Jun 12 16:11:12 AEST 2019


This option was added for htm core tracing so we want the core to be
targeted, not the thread.

Signed-off-by: Rashmica Gupta <rashmica.g at gmail.com>
Acked-by: Michael Neuling <mikey at neuling.org>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index d5f9385..53ad99f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -517,7 +517,7 @@ static bool parse_options(int argc, char *argv[])
 
 				pir_map(pir, &chip, &core, &thread);
 
-				if (!pathsel_add("pib%d/core%d/thread%d", chip, core, thread))
+				if (!pathsel_add("pib%d/core%d", chip, core))
 					return false;
 			}
 		}
-- 
2.17.2



More information about the Pdbg mailing list