Thread IDs are repeated and re-used for new processes on some operating systems. The Track thread creation option in the General panel is checked by default to save a record of the threads created. If you do not check this option, problems may occur if a new thread is created on the system and the VTune analyzer reuses a thread ID that was already used by a process sampled earlier in the same collection. If a thread ID is reused by the operating system during a collection, you may not be able to correctly drill down from the Thread view to lower levels such as the Module, Hotspot, or Source views.
From the Configure Sampling dialog box, select the General tab.
Check the Track thread creation option.
use the -track-thread-creation (or -ttc) option. Set the <yes> (default) or <no> values to respectively enable or disable tracking thread creation.
Command-line example:
>vtl activity -c sampling -o "-ttc no" run
This example creates and runs a default event-based Activity with the VTD sampling type and disables tracking thread ID creation.