+ printf("Linux Trace Toolkit Trace Control " VERSION"\n");
+ printf("\n");
+ printf("Usage: lttctl [OPTION]... [TRACENAME]\n");
+ printf("\n");
+ printf("Examples:\n");
+ printf(" lttctl -c trace1 "
+ "# Create a trace named trace1.\n");
+ printf(" lttctl -s trace1 "
+ "# start a trace named trace1.\n");
+ printf(" lttctl -p trace1 "
+ "# pause a trace named trace1.\n");
+ printf(" lttctl -d trace1 "
+ "# Destroy a trace named trace1.\n");
+ printf(" lttctl -C -w /tmp/trace1 trace1 "
+ "# Create a trace named trace1, start it and\n"
+ " "
+ "# write non-overwrite channels' data to\n"
+ " "
+ "# /tmp/trace1, debugfs must be mounted for\n"
+ " "
+ "# auto-find\n");
+ printf(" lttctl -D -w /tmp/trace1 trace1 "
+ "# Pause and destroy a trace named trace1 and\n"
+ " "
+ "# write overwrite channels' data to\n"
+ " "
+ "# /tmp/trace1, debugfs must be mounted for\n"
+ " "
+ "# auto-find\n");
+ printf("\n");
+ printf(" Basic options:\n");
+ printf(" -c, --create\n");
+ printf(" Create a trace.\n");
+ printf(" -d, --destroy\n");
+ printf(" Destroy a trace.\n");
+ printf(" -s, --start\n");
+ printf(" Start a trace.\n");
+ printf(" -p, --pause\n");
+ printf(" Pause a trace.\n");
+ printf(" -h, --help\n");
+ printf(" Show this help.\n");
+ printf("\n");
+ printf(" Advanced options:\n");
+ printf(" --transport TRANSPORT\n");
+ printf(" Set trace's transport. (ex. relay)\n");
+ printf(" -o, --option OPTION\n");
+ printf(" Set options, following operations are supported:\n");
+ printf(" channel.<channelname>.enable=\n");
+ printf(" channel.<channelname>.overwrite=\n");
+ printf(" channel.<channelname>.bufnum=\n");
+ printf(" channel.<channelname>.bufsize= (in bytes, rounded to "
+ "next power of 2)\n");
+ printf(" <channelname> can be set to all for all channels\n");