File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -227,13 +227,24 @@ inline uint32_t getDebugLevel() {
227227// [integer]|all|<type1>[:<level1>][,<type2>[:<level2>],...]
228228//
229229// 0 : Disable all debug messages
230- // all : Enable all debug messages
230+ // all : Enable all level 1 debug messages
231231// integer : Set the default level for all messages
232232// <type> : Enable only messages of the specified type and level (more than one
233233// can be specified). Components are also supported as
234234// types.
235235// <level> : Set the verbosity level for the specified type (default is 1)
236236//
237+ // Some examples:
238+ // LIBOFFLOAD_DEBUG=1 (Print all messages of level 1 or lower)
239+ // LIBOFFLOAD_DEBUG=5 (Print all messages of level 5 or lower)
240+ // LIBOFFLOAD_DEBUG=init (Print messages of type "init" of level 1 or lower)
241+ // LIBOFFLOAD_DEBUG=init:3,mapping:2 (Print messages of type "init" of level 3
242+ // or lower and messages of type "mapping" of
243+ // level 2 or lower)
244+ // LIBOFFLOAD_DEBUG=omptarget:4, init (Print messages from component "omptarget" of
245+ // level 4 or lower and messages of type
246+ // "init" of level 1 or lower)
247+ //
237248// For very specific cases where more control is needed, use OFFLOAD_DEBUG_RAW
238249// or OFFLOAD_DEBUG_BASE. See below for details.
239250
You can’t perform that action at this time.
0 commit comments