linux-um archives
 help / color / mirror / Atom feed
From: Sonny Rao <sonny@burdell.org>
To: Mulyadi-Santosa <a_mulyadi@telkom.net>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Kallsyms on UML
Date: Mon, 26 Jul 2004 02:01:08 -0400	[thread overview]
Message-ID: <20040726060108.GA17971@kevlar.burdell.org> (raw)
In-Reply-To: <web-1072592@b1.c.plasa.com>

On Mon, Jul 26, 2004 at 10:57:05AM +0700, Mulyadi-Santosa wrote:
> Hello Sonny
> 
> >I had one question, I noticed that on stack traces I'm 
> >not getting
> >symbols even though I had CONFIG_KALLSYMS enabled.  I 
> >looked into it a
> >bit more and it appears that the kernel build system is 
> 
> Ehm, have you done EXPORT_SYMBOL(your_proc) or 
> EXPORT_SYMBOL(your_variable). I am not sure is this what 
> you want, but I do this on my trial kernel module (well, I 
> am still kernel newbie after all :-)) )

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 :)  

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.

Sonny


-------------------------------------------------------
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  6:01 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 [this message]
2004-07-26 13:45     ` Mulyadi Santosa
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=20040726060108.GA17971@kevlar.burdell.org \
    --to=sonny@burdell.org \
    --cc=a_mulyadi@telkom.net \
    --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