path: trafficserver_9.2.5+ds-1/doc/developer-guide/debugging/profiling.en.rst will make it more likely that perf record will gather complete callstacks.:: sudo perf record -g -p `pidof traffic_server` After gathering profilng data with perf record, use perf report to display the call stacks with their corresponding path: trafficserver_9.2.5+ds-1/doc/developer-guide/debugging/profiling.en.rst portion of the execution time.:: sudo perf top -p `pidof traffic_server` For more details use the record subcommand to gather profiling data on the traffic_server process. Using