lipracer/cuda-rt-hook

env var HOOK_DISABLE_TRACE not working correctly

dynamicheart opened this issue · 3 comments

Description

Environment Variables:
HOOK_DISABLE_TRACE='xpuSetDevice=0' LOG_LEVEL="TRACE=INFO"

Desired Behavior:
only xpu_set_device is backtraced

Actual Behavior:
all runtime apis are backtraced

image 2d2efd2360cb35b22bc257ea003d6b42

return false;
default: return true?

return false;

default: return true?

Yes