From: Steven Rostedt Date: Thu, 6 Aug 2009 23:53:18 +0000 (-0400) Subject: tracing: Fix recordmcount.pl to handle sections with only weak functions X-Git-Tag: v2.6.31-rc6~32^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dbdee2e9a2ac42ea5135801bcc9d1a8e3f672aa;p=pandora-kernel.git tracing: Fix recordmcount.pl to handle sections with only weak functions Roland Dreier found that a section that contained only a weak function in one of the staging drivers and this caused recordmcount.pl to spit out a warning and fail. Although it is strange that a driver would have a weak function, and this function only be used in one place, it should not be something to make recordmcount.pl fail. This patch fixes the issue in a simple manner: if only weak functions exist in a section, then that section will not be recorded. Reported-by: Roland Dreier Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed