diff options
Diffstat (limited to 'gprof/basic_blocks.c')
-rw-r--r-- | gprof/basic_blocks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c index ed26cae..e974ee8 100644 --- a/gprof/basic_blocks.c +++ b/gprof/basic_blocks.c @@ -281,6 +281,8 @@ print_exec_counts () for (i = 0; i < len; ++i) { + sym = sorted_bbs [i]; + if (sym->ncalls > 0 || ! ignore_zeros) { /* FIXME: This only works if bfd_vma is unsigned long. */ |