diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-16 13:35:23 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-18 21:45:02 +0000 |
commit | 0c2f8b6eb8f4b379aa0c78caba73ec1ebaae8414 (patch) | |
tree | 3f8761f0c60686a39c4b82b7ef48beb1c24aaf27 /src/target/etm.c | |
parent | eae6353ca459e38289d6d619772ef88ad24cc5c8 (diff) |
cmd: add missing usage vars
we should have caught them all - hopefully.
Change-Id: I35435317fccaf5ad0216244d69f76db6857bb582
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/381
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Diffstat (limited to 'src/target/etm.c')
-rw-r--r-- | src/target/etm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/etm.c b/src/target/etm.c index 27983698..de8bb8a4 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -2139,6 +2139,7 @@ const struct command_registration etm_command_handlers[] = { .name = "etm", .mode = COMMAND_ANY, .help = "Emebdded Trace Macrocell command group", + .usage = "", .chain = etm_config_command_handlers, }, COMMAND_REGISTRATION_DONE @@ -2159,24 +2160,28 @@ static const struct command_registration etm_exec_command_handlers[] = { .name = "info", .handler = handle_etm_info_command, .mode = COMMAND_EXEC, + .usage = "", .help = "display info about the current target's ETM", }, { .name = "status", .handler = handle_etm_status_command, .mode = COMMAND_EXEC, + .usage = "", .help = "display current target's ETM status", }, { .name = "start", .handler = handle_etm_start_command, .mode = COMMAND_EXEC, + .usage = "", .help = "start ETM trace collection", }, { .name = "stop", .handler = handle_etm_stop_command, .mode = COMMAND_EXEC, + .usage = "", .help = "stop ETM trace collection", }, { @@ -2190,6 +2195,7 @@ static const struct command_registration etm_exec_command_handlers[] = { .name = "analyze", .handler = handle_etm_analyze_command, .mode = COMMAND_EXEC, + .usage = "", .help = "analyze collected ETM trace", }, { @@ -2210,6 +2216,7 @@ static const struct command_registration etm_exec_command_handlers[] = { .name = "load", .handler = handle_etm_load_command, .mode = COMMAND_EXEC, + .usage = "", .help = "load trace data for analysis <file>", }, COMMAND_REGISTRATION_DONE |