j riv
j riv

Reputation: 3699

Why does gprof occasionally not print number of calls for particular functions?

The application is compiled with -O0 -g -pg and gprof is run with its default settings.

Upvotes: 3

Views: 1100

Answers (2)

Kat
Kat

Reputation: 1654

Check to make sure that all of your modules have the -pg flag. If any one is missing it, you could have these results.

Upvotes: 1

j riv
j riv

Reputation: 3699

(self-answer) I believe it was static declarations.

Upvotes: 2

Related Questions