viztracer icon indicating copy to clipboard operation
viztracer copied to clipboard

VizTracer not tracing some functions

Open arbenede opened this issue 3 months ago • 1 comments

I am using @log_sparse(stack_depth=8) to trace a couple of functions (say fun1(), fun2()) however only some of the functions called by fun1() and fun2() are traced. I am using

tracer = VizTracer(log_sparse=True)
    tracer.start()
    fun1()
    fun2()
    tracer.stop()

Is there a way to force VizTracer log all the functions called up to the specified stack_depth?

arbenede avatar May 20 '24 18:05 arbenede