The first on_entry/on_exit pair would be the wrapper part and would prevent any second on_entry/on_exit pair from executing. Can I count on the first pair executing in order?
Here’s the answer: “Yes. On_entry/exit should execute in lexical order. If you have multiple probes on the same routine, their on_entry’s should execute in lexical order as well, however on_exit’s will execute in the reverse order to ensure proper nesting. Probe program on_entry actions are executed before probe thread’s ones and those are executed before any subprogram probes if any. UALs on the aprobe command-line (or in the RootCause workspace’s aprobe script) are initialized in reverse order, i.e., right-to-left.
Related Questions
- The first on_entry/on_exit pair would be the wrapper part and would prevent any second on_entry/on_exit pair from executing. Can I count on the first pair executing in order?
- When exactly are the "on_entry" and "on_exit" parts of a function probe executed?
- Why is my local variable "unknown" in on_entry and on_exit parts?