This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Order "begin" probes are run
- From: Mike Mason <mmlnx at us dot ibm dot com>
- To: systemtap at sources dot redhat dot com
- Date: Wed, 29 Nov 2006 10:12:42 -0800
- Subject: Order "begin" probes are run
It appears that "begin" probes run in no particular order. Is that true?
I have a tapset that uses a "begin" probe to do initialization. I also have a script with a "begin" probe that depends on the tapset's "begin" probe having already been run. Unfortunately, the script's "begin" probe runs first and it fails.
Seems reasonable to expect tapset "begin" probes to always run before a script's "begin" probe. Otherwise we can't rely on "begin" probes for initialization. What do others think?
Mike