NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Program segfaults if compiled with -pg and linked to shared library



On Thu, 4 Mar 2021, RVP wrote:

$ gprof a.out gmon.out
...
Index by function name

  [1] main
$

No segfault; but, no profiling data either ;)


That should've read "no profiling data _on external calls_".
Because, clearly, internal calls in the source are being profiled.

Maybe this way of profiling fits the OP's needs?

-RVP


Home | Main Index | Thread Index | Old Index