diff options
author | Michael Neuling <mikey@neuling.org> | 2018-06-19 15:25:23 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-06-25 14:49:04 +1000 |
commit | 43a45cfb940c27dccc26e64a034a75bd92f87050 (patch) | |
tree | b695f6824e9773a8cf45090d4d28cd20e7f6b004 /src/htm.c | |
parent | 3c9aee0873507277f491e97f771e708f6b004fe6 (diff) | |
download | pdbg-43a45cfb940c27dccc26e64a034a75bd92f87050.tar.gz pdbg-43a45cfb940c27dccc26e64a034a75bd92f87050.zip |
htm: Remove trace and analyse
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@neuling.org>
Diffstat (limited to 'src/htm.c')
-rw-r--r-- | src/htm.c | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -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) |