- //fprintf(ofp, " --kernel Enable kernel tracing\n");
- //fprintf(ofp, " --no-kernel Disable kernel tracing\n");
- fprintf(ofp, " -p, --pid PID Set tracing action for PID\n");
- fprintf(ofp, " -L, --list-apps List traceable UST applications\n");
- fprintf(ofp, " -t, --list-traces List session's traces. Use -s to specify the session\n");
- fprintf(ofp, " -C, --create-trace Create a trace\n");
- fprintf(ofp, " --start Start tracing\n");
- fprintf(ofp, " --stop Stop tracing\n");
+ fprintf(ofp, " -p, --pid PID Specify action on user-space tracer for PID\n");
+ fprintf(ofp, " -k, --kernel Specify action on kernel tracer\n");
+ fprintf(ofp, " -e, --enable-event LIST Enable tracing event (support marker and tracepoint)\n");
+ fprintf(ofp, " --disable-event LIST Disable tracing event (support marker and tracepoint)\n");
+ fprintf(ofp, " -C, --create-trace Create a trace. Allocate and setup a trace\n");
+ fprintf(ofp, " -D, --destroy-trace [NAME] Destroy a trace. Use NAME to identify user-space trace\n");
+ fprintf(ofp, " --start [NAME] Start tracing. Use NAME to identify user-space trace\n");
+ fprintf(ofp, " --stop [NAME] Stop tracing. Use NAME to identify user-space trace\n");
+ fprintf(ofp, "\n");
+ fprintf(ofp, "Kernel tracing options:\n");
+ fprintf(ofp, " --kern-create-channel Create a kernel channel\n");
+ fprintf(ofp, "\n");
+ fprintf(ofp, "User-space tracing options:\n");