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/?p=lttng-tools.git;a=commitdiff_plain;h=be49af1e82986f75f22715692a93babbac620387;hp=eb1e0bd499a6f47d2bcc5a2b828356101d8b00c3 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");