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] |
Hi -I personally think it is not worth putting this into a tapset. We should use tapsets for mainly providing an abstraction of the probe points the way most tapsets are currently implemented.
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] |