From be49af1e82986f75f22715692a93babbac620387 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 6 Dec 2011 16:20:20 -0500 Subject: [PATCH] Document wildcards for userspace tracer Signed-off-by: Mathieu Desnoyers --- lttng/commands/enable_events.c | 5 +++++ 1 file changed, 5 insertions(+) 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"); -- 2.34.1