This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: command line arguments
- From: Roland McGrath <roland at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Fri, 24 Feb 2006 12:59:16 -0800 (PST)
- Subject: Re: command line arguments
An idea that occurred to me is to have command-line arguments be like
systemtap function arguments. For example:
global s, n
probe begin (name: string, number: int) { s = name; n = number; }
stap foo.stp foobar 123