linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Mulyadi Santosa <a_mulyadi@telkom.net>
To: Sonny Rao <sonny@burdell.org>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Kallsyms on UML
Date: Mon, 26 Jul 2004 20:45:35 +0700	[thread overview]
Message-ID: <200407262045.35821.a_mulyadi@telkom.net> (raw)
In-Reply-To: <20040726060108.GA17971@kevlar.burdell.org>

hello Sonny :-)

> I was referring to the stack traces which appear after an Oops or
> panic, or if you is simply call dump_stack() somewhere.  Normally, if
> CONFIG_KALLSYMS isn't defined in the kernel's .config file, then those
> stack traces don't show function names, just the address of the
> function, which is somewhat annoying to decode :)

Oh...sorry...looks like I am misinterpreting your e-mail :-)

ehm, AFAIK, stack frame pointer also determine the precision of stack dump, so 
make sure you don't include -fomit-frame-pointer

CONFIG_KALLSYMS, ehm, for 2.6, right? well, I still use 2.4....that's why I 
miss that option :-)

> Fortunately, an in-kernel symbol table has been added in 2.6 which
> does the work for you.  It doesn't seem to work out of the box on UML
> on 2.6, and I was just wondering if it would be trivial to add that
> support to UML.  It seems that way to me, and its a rather useful
> feature for people using UML as a kernel development tool.

Yes, I agree. Bulls-eye stack dump is definitely useful to pin point 
problem....and of course...you still need to fully understand the inner work. 
it reminds me to Linus' wise word "Use the source,Luke"  :-). Well, somehow I 
need to pratice my Force's power to achieve Jedi senior warrior :-)))

regards

Mulyadi



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-07-26 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-26  0:27 [uml-devel] Kallsyms on UML Sonny Rao
2004-07-26  3:57 ` Mulyadi-Santosa
2004-07-26  6:01   ` Sonny Rao
2004-07-26 13:45     ` Mulyadi Santosa [this message]
2004-07-26 14:18     ` [patch] " BlaisorBlade
2004-07-26 14:40       ` Mulyadi Santosa
2004-07-26 14:54         ` BlaisorBlade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407262045.35821.a_mulyadi@telkom.net \
    --to=a_mulyadi@telkom.net \
    --cc=sonny@burdell.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).