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
environment variable (default is two). Because instrumentation overhead will increase with
the depth of the callpath, you should use the shortest call path that is sufficient.