- {"create-session", 'c', POPT_ARG_STRING, &opt_create_session, 0, 0, 0},
- {"create-trace", 'C', POPT_ARG_INT, &opt_create_trace, 0, 0, 0},
- {"destroy-session", 'd', POPT_ARG_STRING, &opt_destroy_session, 0, 0, 0},
- {"group", 0, POPT_ARG_STRING, &opt_tracing_group, 0, 0},
+ {"create-session", 'c', POPT_ARG_STRING, 0, OPT_CREATE_SESSION, 0, 0},
+ {"create-trace", 'C', POPT_ARG_STRING | POPT_ARGFLAG_OPTIONAL, 0, OPT_CREATE_TRACE, 0, 0},
+ {"destroy-trace", 'D', POPT_ARG_STRING | POPT_ARGFLAG_OPTIONAL, 0, OPT_DESTROY_TRACE, 0, 0},
+ {"destroy-session", 'd', POPT_ARG_STRING, 0, OPT_DESTROY_SESSION, 0, 0},
+ {"disable-event", 0, POPT_ARG_STRING, 0, OPT_DISABLE_EVENT, 0, 0},
+ {"enable-event", 'e', POPT_ARG_STRING, 0, OPT_ENABLE_EVENT, 0, 0},
+ {"group", 0, POPT_ARG_STRING, &opt_tracing_group, 0, 0, 0},