Skip to content

Commit 9d4d091

Browse files
committed
Document tracing layer logging
1 parent abdeba6 commit 9d4d091

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/core/INTRO.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ Unified Runtime loader implements tracing support through the `XPTI framework <h
182182
| **user_data**: A pointer to `function_with_args_t` object, that includes function ID, name, arguments, and return value.
183183
- None
184184

185+
The Unified Runtime tracing layer also supports logging tracing output directly, rather than using XPTI. Use the `UR_LOG_TRACING` environment variable to control this output. See the `Logging`_ section below for details of the syntax. All traces are logged at the *info* log level.
186+
185187
Sanitizers
186188
---------------------
187189

@@ -318,6 +320,10 @@ Specific environment variables can be set to control the behavior of unified run
318320

319321
Holds parameters for setting Unified Runtime validation logging. The syntax is described in the Logging_ section.
320322

323+
.. envvar:: UR_LOG_TRACING
324+
325+
Holds parameters for setting Unified Runtime tracing logging. The syntax is described in the Logging_ section.
326+
321327
.. envvar:: UR_ADAPTERS_FORCE_LOAD
322328

323329
Holds a comma-separated list of library paths used by the loader for adapter discovery. By setting this value you can

0 commit comments

Comments
 (0)