Intel® Trace Analyzer and Collector User and Reference Guide

ID 767272
Date 8/08/2022

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents


int VT_registernamed (const char * threadname, int thindex)


Registers a new thread with Intel® Trace Analyzer and Collector under the given number and name.

Threads with the same number cannot have different names. If you try doing that, the thread uses the number, but not the new name.

Registering a thread twice with different names or numbers is an error. You can add a name to an already registered thread with VT_registernamed("new name", -1) if no name has been set before.


threadname desired name of the thread, or NULL/empty string if no name wanted
thindex desired thread number, pass negative number to let Intel® Trace Collector pick a number

Return values

Returns error code, see VT_registerthread

Did you find the information on this page useful?

Characters remaining:

Feedback Message