diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-02 10:08:48 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-02 10:08:48 -0500 |
commit | 88adbdfdf4b33210ba7acb0a30c292d301ca1554 (patch) | |
tree | a8d34fce10ab6a69f2712cca8456ba57a72678e1 /hmp-commands.hx | |
parent | 625f9e1f54cd78ee98ac22030da527c9a1cc9d2b (diff) | |
parent | d8e8ef4ee05bfee0df84e2665d9196c4a954c095 (diff) |
Merge remote-tracking branch 'stefanha/tracing' into staging
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index 0ccfb2867f..9e1cca8e3d 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -180,13 +180,12 @@ STEXI Output logs to @var{filename}. ETEXI -#ifdef CONFIG_SIMPLE_TRACE { .name = "trace-event", .args_type = "name:s,option:b", .params = "name on|off", .help = "changes status of a specific trace event", - .mhandler.cmd = do_change_trace_event_state, + .mhandler.cmd = do_trace_event_set_state, }, STEXI @@ -195,6 +194,7 @@ STEXI changes status of a trace event ETEXI +#if defined(CONFIG_SIMPLE_TRACE) { .name = "trace-file", .args_type = "op:s?,arg:F?", @@ -1354,14 +1354,17 @@ show roms @end table ETEXI -#ifdef CONFIG_SIMPLE_TRACE +#ifdef CONFIG_TRACE_SIMPLE STEXI @item info trace show contents of trace buffer +ETEXI +#endif + +STEXI @item info trace-events show available trace events and their state ETEXI -#endif STEXI @end table |