X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=lttng%2Fcommands%2Fcalibrate.c;fp=lttng%2Fcommands%2Fcalibrate.c;h=3fa87e3ecf47f52fbab0d938525aa37bd68d129e;hp=1219685e7515ab8ca5541c3c8f9222a53c6e602d;hb=9fdb49d8eac3ff67f553743fb8ce0edee14c3ab6;hpb=55cc08a60ad1b188d59161842e630402e738e62e diff --git a/lttng/commands/calibrate.c b/lttng/commands/calibrate.c index 1219685e7..3fa87e3ec 100644 --- a/lttng/commands/calibrate.c +++ b/lttng/commands/calibrate.c @@ -63,7 +63,13 @@ static struct poptOption long_options[] = { {"marker", 0, POPT_ARG_NONE, 0, OPT_MARKER, 0, 0}, {"probe", 0, POPT_ARG_NONE, 0, OPT_PROBE, 0, 0}, {"function", 0, POPT_ARG_NONE, 0, OPT_FUNCTION, 0, 0}, +#if 0 + /* + * Removed from options to discourage its use. Not in kernel + * tracer anymore. + */ {"function:entry", 0, POPT_ARG_NONE, 0, OPT_FUNCTION_ENTRY, 0, 0}, +#endif {"syscall", 0, POPT_ARG_NONE, 0, OPT_SYSCALL, 0, 0}, {0, 0, 0, 0, 0, 0, 0} }; @@ -87,8 +93,10 @@ static void usage(FILE *ofp) fprintf(ofp, " Dynamic probe.\n"); fprintf(ofp, " --function\n"); fprintf(ofp, " Dynamic function entry/return probe.\n"); +#if 0 fprintf(ofp, " --function:entry symbol\n"); fprintf(ofp, " Function tracer event\n"); +#endif fprintf(ofp, " --syscall System call eventl\n"); fprintf(ofp, " --marker User-space marker (deprecated)\n"); fprintf(ofp, "\n");