Craig Silverstein wrote:
> } I've run and collected the cpu and heap profiles of
> } my program. When I try to interepret the CPU profile through pprof,
> } I get a message "No node to print".
> Usually it means the program hasn't finished properly. Is it
> your program is hanging for some reason? Or it was killed by
> interrupting it instead of a clean exit?
No, the program is finishing properly.
> One thing to try is to run pprof without the --gv option and see what
> if any errors get printed.
When run without the --gv, it prints nothing
bashir:$pprof --gv SwitchController /tmp/profiles/swBcpu
No nodes to print
bashir:$pprof SwitchController /tmp/profiles/swBcpu
> Also, run "strings <profile>" and see what is printed. In
> does a /proc/pid/map copy come out?
The entries in /proc/<pid>/map and <profile> are similar but not the
same. I mean, the .so's listed match but not the addresses..