Intel® Trace Analyzer and Collector User and Reference Guide

ID 767272
Date 3/31/2023
Document Table of Contents


int VT_registerprefixed (const char * threadname, 
 int thindex)


This functions is identical to VT_registernamed, with the only difference that it appends the process number as a prefix for the thread name. For example, for threadname = "ThreadA" and process number 127, the resulting thread name displayed in Intel® Trace Analyzer and Collector will be "P127 ThreadA".


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