trace child processes, add header information about valgrind events to report

Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
Ava Hahn 2025-08-28 10:44:05 -07:00
parent 5ada8f8d8a
commit 71990d3988
2 changed files with 14 additions and 2 deletions

View file

@ -1,9 +1,8 @@
#!/bin/bash
function p_invoke() {
# set trace-children=yes to profile worker processes
valgrind --tool=callgrind \
--trace-children=no \
--trace-children=yes \
--callgrind-out-file=/tmp/callgrind.output \
--cache-sim=yes \
/nginx/objs/nginx \