I would like to use the user task annotation of libittnotify to track a task as it is moved between threads. In my specific case, a custom, Windows fiber-based scheduler is used, which resumes the fibers on different threads. Each task is marked with __itt_task_start and __itt_task_end on its current thread before it moves to another thread.
Yet, when inspecting the result in vtune, the task is only shown on one thread.
Is this expected? Can a single task only ever exist on the same thread? If so, what would be a good workaround for this situation?
Thanks and best regards