This patch adds the implementation of OMPT tracing events for openMP taskwait constructs.
Details
Diff Detail
Event Timeline
It appears that no context is available for the diffs. Without the context, I can't tell whether the additions are appropriate or not. The callbacks are intended to monitor the beginning and end of an episode of waiting. There is no evidence of the waiting in the diffs provided without context.
Please prepare the diffs using "git diff -U999999 other-branch" and update the diffs for this patch.
Please notice, the callbacks implemented here are NOT ompt_event_WAIT_taskwait_begin/end.
The callbacks implemented here just mark the event of reaching / leaving the OpenMP taskwait region, associated to a taskwait construct.
I apologize that I misunderstood begin/end pair being implemented when I initially reviewed the patch.
With the context provided, the patch looks good to me.
Manually closing. I forgot to add the Differential Revision: line in the commit message.