From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: David Ahern <dsahern@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf tool: Fix symbol offset computation for some dsos
Date: Mon, 29 Jul 2013 17:24:47 -0300 [thread overview]
Message-ID: <20130729202447.GB1983@ghostprotocols.net> (raw)
In-Reply-To: <1375026512-45826-1-git-send-email-dsahern@gmail.com>
Em Sun, Jul 28, 2013 at 09:48:32AM -0600, David Ahern escreveu:
> For some dsos (e.g., libc, libpthread, kernel modules) the symbol offset
> is huge. e.g.,
>
> qemu-kvm 17238/17242 [007] 762235.640311:
> ffffffff816288a1 __schedule+0x451 ([kernel.kallsyms])
> ffffffff81629609 schedule+0x29 ([kernel.kallsyms])
> ffffffffa00a6ded kvm_vcpu_block+0xffffffffa00a106d (/lib/modules/3.11.0-rc1+/kernel/arch/x86/kvm/kvm.ko)
> ffffffffa00bae6b kvm_arch_vcpu_ioctl_run+0xffffffffa00a118b (/lib/modules/3.11.0-rc1+/kernel/arch/x86/kvm/kvm.ko)
> ffffffffa00a4d7a kvm_vcpu_ioctl+0xffffffffa00a141a (/lib/modules/3.11.0-rc1+/kernel/arch/x86/kvm/kvm.ko)
> ffffffff811a7bdb do_vfs_ioctl+0x8b ([kernel.kallsyms])
> ffffffff811a80c1 sys_ioctl+0x91 ([kernel.kallsyms])
> ffffffff81633182 system_call+0x72 ([kernel.kallsyms])
> 7f882a97af27 __GI___ioctl+0x7f882a891007 (/lib64/libc-2.14.90.so)
> 100000002 [unknown] ([unknown])
>
> It seems to be maps with a non-0 start. Taking that into account the
> offsets are correct:
Humm, first reaction is that this should be solved by using one of the
->map/->unmap methods, no?
- Arnaldo
next prev parent reply other threads:[~2013-07-29 20:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-28 15:48 [PATCH] perf tool: Fix symbol offset computation for some dsos David Ahern
2013-07-29 20:24 ` Arnaldo Carvalho de Melo [this message]
2013-09-03 7:15 ` [tip:perf/core] perf tools: " tip-bot for David Ahern
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=20130729202447.GB1983@ghostprotocols.net \
--to=acme@ghostprotocols.net \
--cc=dsahern@gmail.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox