From: Mathieu Desnoyers Date: Tue, 6 Dec 2011 21:20:20 +0000 (-0500) Subject: Document wildcards for userspace tracer X-Git-Tag: v2.0-pre15~25 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=be49af1e82986f75f22715692a93babbac620387;p=lttng-tools.git Document wildcards for userspace tracer Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng/commands/enable_events.c b/lttng/commands/enable_events.c index e435e1f78..7df849e73 100644 --- a/lttng/commands/enable_events.c +++ b/lttng/commands/enable_events.c @@ -100,6 +100,11 @@ static void usage(FILE *ofp) fprintf(ofp, "\n"); fprintf(ofp, "Event options:\n"); fprintf(ofp, " --tracepoint Tracepoint event (default)\n"); + fprintf(ofp, " - userspace tracer supports wildcards at end of string.\n"); + fprintf(ofp, " Don't forget to quote to deal with bash expansion.\n"); + fprintf(ofp, " e.g.:\n"); + fprintf(ofp, " \"*\"\n"); + fprintf(ofp, " \"app_component:na*\"\n"); fprintf(ofp, " --loglevel Tracepoint loglevel\n"); fprintf(ofp, " --probe [addr | symbol | symbol+offset]\n"); fprintf(ofp, " Dynamic probe.\n");