- {"create-trace", 0, 0, 1012},
- {"start-trace", 0, 0, 1000},
- {"stop-trace", 0, 0, 1001},
- {"destroy-trace", 0, 0, 1002},
- {"list-markers", 0, 0, 1004},
- {"print-markers", 0, 0, 1005},
- {"pid", 1, 0, 1006},
- {"enable-marker", 1, 0, 1007},
- {"disable-marker", 1, 0, 1008},
- {"start", 0, 0, 1009},
- {"help", 0, 0, 'h'},
- {"version", 0, 0, 1010},
- {"online-pids", 0, 0, 1011},
- {0, 0, 0, 0}
+ { "create-trace", 0, 0, CREATE_TRACE },
+ { "alloc-trace", 0, 0, ALLOC_TRACE },
+ { "start-trace", 0, 0, START_TRACE },
+ { "stop-trace", 0, 0, STOP_TRACE },
+ { "destroy-trace", 0, 0, DESTROY_TRACE },
+ { "list-markers", 0, 0, LIST_MARKERS },
+ { "enable-marker", 1, 0, ENABLE_MARKER },
+ { "disable-marker", 1, 0, DISABLE_MARKER },
+ { "help", 0, 0, 'h' },
+ { "online-pids", 0, 0, GET_ONLINE_PIDS },
+ { "set-subbuf-size", 1, 0, SET_SUBBUF_SIZE },
+ { "set-subbuf-num", 1, 0, SET_SUBBUF_NUM },
+ { "get-subbuf-size", 1, 0, GET_SUBBUF_SIZE },
+ { "get-subbuf-num", 1, 0, GET_SUBBUF_NUM },
+ { "get-sock-path", 0, 0, GET_SOCK_PATH },
+ { "set-sock-path", 1, 0, SET_SOCK_PATH },
+ { "force-switch", 0, 0, FORCE_SWITCH },
+ { 0, 0, 0, 0 }