I recently started using the __itt_task_begin / end APIs to mark code segments. In the Tasks and Frames section of a capture the tasks show up in what looks like correct nesting, but they are all red and don't have the names. I've double checked and it looks like valid string handles are going into the task_begin functions. Any idea what's going on here? Thanks.
For more complete information about compiler optimizations, see our Optimization Notice.