X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fetm.c;h=de8bb8a416579eea2609de62a2e83f41677428ca;hp=27983698f866f555eac13b4b6f1535737e2b13c2;hb=0c2f8b6eb8f4b379aa0c78caba73ec1ebaae8414;hpb=eae6353ca459e38289d6d619772ef88ad24cc5c8 diff --git a/src/target/etm.c b/src/target/etm.c index 27983698f8..de8bb8a416 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 ", }, COMMAND_REGISTRATION_DONE