[Crash-utility] [PATCH 2/2] dis: Report duplicate symbols

Aaron Tomlin atomlin at redhat.com
Mon Jul 6 14:55:38 UTC 2015


On Mon 2015-07-06 10:35 -0400, Dave Anderson wrote:
> 
> 
> ----- Original Message -----
> > 
> > 
> > ----- Original Message -----
> > > Notify the user if there is more than one symbol of the given target.
> > > 
> > > For example, after this patch:
> > > 
> > > - The 'dis' command now reports that more than one symbol of "watchdog"
> > >   exists, to allow the user to be more specific
> > > 
> > >   crash> dis watchdog
> > >   duplicate symbols found: watchdog
> > >   ffffffff810e6100 (t) watchdog
> > >   /usr/src/debug/kernel-2.6.32-431.1.2.el6/linux-2.6.32-431.1.2.el6.x86_64/kernel/hung_task.c:
> > >   199
> > >   ffffffff810e6990 (t) watchdog
> > >   /usr/src/debug/kernel-2.6.32-431.1.2.el6/linux-2.6.32-431.1.2.el6.x86_64/kernel/watchdog.c:
> > >   332
> > >   ffffffff81eb3fc8 (b) watchdog
> 
> Also, is it worth worrying about non-text symbols like the "(b) watchdog" above?
> Maybe the patch should ignore symbols whose sp->type is not (t) or (T)?

Sure - that makes sense. I'll post a v2.

Thanks

-- 
Aaron Tomlin




More information about the Crash-utility mailing list