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:
parent
5ada8f8d8a
commit
71990d3988
2 changed files with 14 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue