trace: separate trace event control and query routines from the simple backend

Generalize the 'st_print_trace_events' and 'st_change_trace_event_state' into
backend-specific 'trace_print_events' and 'trace_event_set_state' (respectively)
in the "trace/control.h" file.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
This commit is contained in:
Lluís 2011-08-31 20:31:18 +02:00 committed by Stefan Hajnoczi
parent 49926043c1
commit fc76410539
6 changed files with 40 additions and 17 deletions

View file

@ -186,7 +186,7 @@ ETEXI
.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