All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Berger <gmane@reliableembeddedsystems.com>
To: yocto@yoctoproject.org
Subject: gcov on beagle-xm with kernel module
Date: Thu, 07 Feb 2013 19:57:03 +0200	[thread overview]
Message-ID: <kf0pth$hu9$1@ger.gmane.org> (raw)

Hi,

I still try to use gcov on the beagle-xm on a kernel module and I'm not
sure this is the right mailing list to ask.

I just build it with the following modification to the makefile:

GCOV_PROFILE_debugfs.o := y

and it builds;)

... but as soon as I try and insmod I get the following:

insmod debugfs.ko
Error: could not insert module debugfs.ko: Invalid module format

and dmesg says:
[ 1628.759552] debugfs: unknown relocation: 38

Did anyone see something like this before here?

Apparently I'm not the only one having this kind of problem:

http://old.nabble.com/Problem-with-applying-Gcov-tool-to-kernel-module-to28299744.html

Does this look like a compiler bug?

Regards,

Robert..."Never express yourself more clearly than you think." - Niels Bohr

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




             reply	other threads:[~2013-02-07 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 17:57 Robert Berger [this message]
2013-02-08 15:31 ` gcov on beagle-xm with kernel module Robert Berger

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='kf0pth$hu9$1@ger.gmane.org' \
    --to=gmane@reliableembeddedsystems.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.