[Crash-utility] Additional fix for per-cpu data symbol naming problem

Ryota Ozaki ozaki.ryota at gmail.com
Wed May 19 12:41:51 UTC 2010


Hi,

I tried crash 5.0.3 for linux 2.6.34 (x86_64) and faced the problem
about per-cpu data symbol naming, which is described in ChangeLog
as it's already fixed. I observed to fix the problem and found the
following fix for x86_64_verify_symbol() in x86_64.c helped me.

I'm not sure whether the fix is correct or not, but it would be help for
correct fix.

Thanks,
  ozaki-r


--- x86_64.c.orig       2010-05-19 12:26:11.000000000 +0000
+++ x86_64.c    2010-05-19 08:23:30.000000000 +0000
@@ -1974,7 +1974,7 @@
                        if (STRNEQ(name, "per_cpu") ||
                            STREQ(name, "__per_cpu_end"))
                                return TRUE;
-                       if (type == 'V')
+                       if (type == 'V' || type == 'D' || type == 'd')
                                return TRUE;
                }




More information about the Crash-utility mailing list