Intel® Trace Analyzer and Collector User and Reference Guide

ID 767272
Date 10/31/2024
Public
Document Table of Contents

ENTER-USERCODE

Syntax

ENTER-USERCODE [on|off]

Variable

VT_ENTER_USERCODE

Default

on in most cases, off for Java* function tracing

Description

Usually the Intel® Trace Analyzer and Collector enters the Application:User_Code state automatically when registering a new thread. This makes little sense when function profiling is enabled, because then the user can choose whether he wants the main() function or the entry function of a child thread to be logged or not. Therefore it is always turned off for Java* function tracing. In all other cases it can be turned off manually with this configuration option.

However, without automatically entering this state and without instrumenting functions threads might be outside of any state and thus not visible in the trace although they exist. This may or may not be intended.