This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tapset quickie


Hi -

Do you have any opinions whether a one-liner tapset like this is
worth putting into the library?

  probe once += begin { exit() }

It is intended to make unnecessary the exit() for one-shot little
scripts, used thusly:

  stap -e 'probe once { println("hello world") }'

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]