Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.