diff options
| author | Steven Rostedt <[email protected]> | 2009-08-06 23:53:18 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-08-07 06:50:29 +0000 |
| commit | 7dbdee2e9a2ac42ea5135801bcc9d1a8e3f672aa (patch) | |
| tree | df94010b7388d14432269c0dfa958b9ca4b86a4b /lib/flex_array.c | |
| parent | ring-buffer: Fix advance of reader in rb_buffer_peek() (diff) | |
| download | kernel-7dbdee2e9a2ac42ea5135801bcc9d1a8e3f672aa.tar.gz kernel-7dbdee2e9a2ac42ea5135801bcc9d1a8e3f672aa.zip | |
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 <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
