From 16442b904ea51eedfbef36edc9791f5904d81099 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 10 Apr 2008 15:38:18 -0400 Subject: PR2949: listings mode (stap -l PROBE) 2008-04-10 Frank Ch. Eigler PR 2949. * session.h (listing_mode): New field. * main.cxx (main): Test it. Enjoy it. (usage): Document it. * stap.1.in, stapex.5.in: Ditto. * elaborate.cxx (print_error): Disable error messages in listing mode. 2008-04-10 Frank Ch. Eigler PR 2949 * systemtap.base/cmd_parse.exp: Add "-l" listing test. --- stap.1.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'stap.1.in') diff --git a/stap.1.in b/stap.1.in index acfc64c3..db64748f 100644 --- a/stap.1.in +++ b/stap.1.in @@ -45,6 +45,15 @@ stap \- systemtap script translator/driver [ .I ARGUMENTS ] +.br +.B stap +[ +.I OPTIONS +] +.BI \-l " PROBE" +[ +.I ARGUMENTS +] .SH DESCRIPTION @@ -153,6 +162,11 @@ Start the probes, run CMD, and exit when CMD finishes. .BI \-x " PID" Sets target() to PID. This allows scripts to be written that filter on a specific process. +.TP +.BI \-l " PROBE" +Instead of running a probe script, just list all available probe +points matching the given pattern. The pattern may include wildcards +and aliases. .SH ARGUMENTS -- cgit