You can enable callpath profiling by setting the environment variable
TAU_CALLPATH
. In this mode TAU will recorded the each
event callpath to the depth set by the TAU_CALLPATH_DEPTH
environment variable (default is two). Instrumentation overhead will increase with the depth
of the callpath so it is a good idea to see if profiling with a short
call-path depth is sufficient.