From 57351d8174a81056f6ef3c59439724e7c9b3577e Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 6 Aug 2009 19:53:18 -0400 Subject: [PATCH] --- yaml --- r: 156567 b: refs/heads/master c: 7dbdee2e9a2ac42ea5135801bcc9d1a8e3f672aa h: refs/heads/master i: 156565: 1b469e77494217d3041e4b08cc9d881cb6ae736a 156563: eabd877dad2964545f29a9fc92f321544d5885ce 156559: 10caf61a498c71da440e9e80a5a17225c0021454 v: v3 --- [refs] | 2 +- trunk/scripts/recordmcount.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 2a2773fbd15a..a891f7698902 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 469535a598f28c13a2a42037e1b778f671af1d16 +refs/heads/master: 7dbdee2e9a2ac42ea5135801bcc9d1a8e3f672aa diff --git a/trunk/scripts/recordmcount.pl b/trunk/scripts/recordmcount.pl index 4889c44d71b5..911ba7ffab84 100755 --- a/trunk/scripts/recordmcount.pl +++ b/trunk/scripts/recordmcount.pl @@ -393,7 +393,7 @@ sub update_funcs $read_function = 0; } # print out any recorded offsets - update_funcs() if ($text_found); + update_funcs() if (defined($ref_func)); # reset all markers and arrays $text_found = 0; @@ -444,7 +444,7 @@ sub update_funcs } # dump out anymore offsets that may have been found -update_funcs() if ($text_found); +update_funcs() if (defined($ref_func)); # If we did not find any mcount callers, we are done (do nothing). if (!$opened) {