Revision f871d689 monitor.c

b/monitor.c
549 549
{
550 550
    const char *tp_name = qdict_get_str(qdict, "name");
551 551
    bool new_state = qdict_get_bool(qdict, "option");
552
    st_change_trace_event_state(tp_name, new_state);
552
    int ret = st_change_trace_event_state(tp_name, new_state);
553

  
554
    if (!ret) {
555
        monitor_printf(mon, "unknown event name \"%s\"\n", tp_name);
556
    }
553 557
}
554 558

  
555 559
static void do_trace_file(Monitor *mon, const QDict *qdict)

Also available in: Unified diff