[Crash-utility] [PATCH] Increase limit for get_syment_array() call to 400

Bernhard Walle bwalle at suse.de
Wed Jan 14 18:07:42 UTC 2009


Because s390 kernel System.map contains symbols that repeat very often

    grep -c 'L2^B1$' System.map-2.6.27.7-4-default
    276

this patch increases the limit in the get_syment_array() call from
200 to 400. This is a workaround.

Andreas Krebbel already worked to resolve the problem in binutils which prevents
that symbols from being included in System.map.
http://sourceware.org/ml/binutils/2009-01/msg00181.html

However, since there are kernels (all 2.6.28 at least) out that contain that
problem, we should also workaround that in crash in my opinion.


Signed-off-by: Bernhard Walle <bwalle at suse.de>


1 file changed, 2 insertions(+), 2 deletions(-)
symbols.c |    4 ++--


-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash-s390-System.map-limit.diff
Type: text/x-patch
Size: 1202 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20090114/720f4483/attachment.bin>


More information about the Crash-utility mailing list