This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Inserting delays with systemtap
On 03/08/2012 09:17 AM, Bryn M. Reeves wrote:
> On 03/07/2012 03:41 PM, Frank Ch. Eigler wrote:
>> Nah, that's only because #! shebang lines are defined to pass a
>> solitary argument to the interpreter. Note the "-g" in the quoted
>> string.
>
> Gotcha - thanks. It does indeed work fine if I remove the -g and specify
> it on the command line.
You can also mash short options together, as long as only one has an
argument and is placed last, e.g.
#!/usr/bin/stap -gDSTP_NO_OVERLOAD