File tree 3 files changed +12
-0
lines changed 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ The options can be one or more of the following:
56
56
--chrome-sycl-logging Trace SYCL runtime and plugin
57
57
--chrome-ccl-logging Trace oneCCL
58
58
--chrome-dnn-logging Trace oneDNN
59
+ --chrome-itt-logging Trace activities in applications instrumented using Intel(R) Instrumentation and Tracing Technology APIs
59
60
--chrome-call-logging Trace Level Zero and/or OpenCL host calls
60
61
--chrome-kernel-logging Trace device and host kernel activities
61
62
--chrome-device-logging Trace device activities
@@ -217,6 +218,10 @@ The **--chrome-ccl-logging** traces CCL runtime activities
217
218
218
219
Similarly, one can use ** --chrome-dnn-logging** for oneDNN.
219
220
221
+ The ** --chrome-itt-logging** traces activities in applications instrumented using Intel(R) Instrumentation and Tracing Technology APIs
222
+
223
+ ![ ITT logging!] ( /tools/unitrace/doc/images/chrome_itt_logging.png )
224
+
220
225
The ** --ccl-summary-report [ -r] ** option outputs CCL call timing summary:
221
226
![ CCL Call Timing!] ( /tools/unitrace/doc/images/ccl_summary_report.png )
222
227
Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ void Usage(char * progname) {
91
91
" --chrome-device-logging " <<
92
92
" Trace device activities" <<
93
93
std::endl;
94
+ std::cout <<
95
+ " --chrome-itt-logging " <<
96
+ " Trace activities in applications instrumented using Intel(R) Instrumentation and Tracing Technology APIs" <<
97
+ std::endl;
94
98
std::cout <<
95
99
" --chrome-no-thread-on-device " <<
96
100
" Trace device activities without per-thread info." << std::endl <<
@@ -386,6 +390,9 @@ int ParseArgs(int argc, char* argv[]) {
386
390
} else if (strcmp (argv[i], " --version" ) == 0 ) {
387
391
std::cout << UNITRACE_VERSION << " (" << COMMIT_HASH << " )" << std::endl;
388
392
return 0 ;
393
+ } else if (strcmp (argv[i], " --chrome-itt-logging" ) == 0 ) {
394
+ utils::SetEnv (" UNITRACE_ChromeIttLogging" , " 1" );
395
+ ++app_index;
389
396
} else {
390
397
break ;
391
398
}
You can’t perform that action at this time.
0 commit comments