[Pdbg] [PATCH 06/18] htm: Remove trace and analyse
Michael Neuling
mikey at neuling.org
Tue Jun 19 15:25:23 AEST 2018
These don't really make and sense. We are going to make things
simpler with start, stop, dump and also add a record commands that
does it all.
Signed-off-by: Michael Neuling <mikey at neuling.org>
---
src/htm.c | 36 ------------------------------------
1 file changed, 36 deletions(-)
diff --git a/src/htm.c b/src/htm.c
index 8e99ef2ebb..1103b9c8c9 100644
--- a/src/htm.c
+++ b/src/htm.c
@@ -211,40 +211,6 @@ static int run_dump(enum htm_type type)
return rc;
}
-static int run_trace(enum htm_type type)
-{
- int rc;
-
- rc = run_reset(type);
- if (rc == 0) {
- printf("No HTM units were reset.\n");
- printf("It is unlikely anything will start... trying anyway\n");
- }
-
- rc = run_start(type);
- if (rc == 0)
- printf("No HTM units were started\n");
-
- return rc;
-}
-
-static int run_analyse(enum htm_type type)
-{
- int rc;
-
- rc = run_stop(type);
- if (rc == 0) {
- printf("No HTM units were stopped.\n");
- printf("It is unlikely anything will dump... trying anyway\n");
- }
-
- rc = run_dump(type);
- if (rc == 0)
- printf("No HTM buffers were dumped to file\n");
-
- return rc;
-}
-
static struct {
const char *name;
const char *args;
@@ -256,8 +222,6 @@ static struct {
{ "status", "", "Get %s HTM status", &run_status },
{ "reset", "", "Reset %s HTM", &run_reset },
{ "dump", "", "Dump %s HTM buffer to file", &run_dump },
- { "trace", "", "Configure and start %s HTM", &run_trace },
- { "analyse","", "Stop and dump %s HTM", &run_analyse},
};
static void print_usage(enum htm_type type)
--
2.17.1
More information about the Pdbg
mailing list