From: Ingo Molnar <mingo@elte.hu>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Mike Galbraith <efault@gmx.de>, Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH 1/2] perfcounters: Print the filename:line for annotated colored lines
Date: Sat, 13 Jun 2009 13:12:48 +0200 [thread overview]
Message-ID: <20090613111248.GA1355@elte.hu> (raw)
In-Reply-To: <1244844682-12928-1-git-send-email-fweisbec@gmail.com>
hm, -l doesnt work so well if a user-space binary (in this case the
'git' binary of the Git project) is profiled:
aldebaran:~/git> perf record -f ./git gc
Counting objects: 1148, done.
Delta compression using up to 16 threads.
Compressing objects: 100% (450/450), done.
Writing objects: 100% (1148/1148), done.
Total 1148 (delta 690), reused 1148 (delta 690)
[ perf record: Captured and wrote 1.649 MB perf.data (~72032 samples) ]
aldebaran:~/git> perf annotate -l lookup_object
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
addr2line: 'vmlinux': No such file
------------------------------------------------
Percent | Source code & Disassembly of /home/mingo/git/git-update-server-info
------------------------------------------------
:
: /home/mingo/git/git-update-server-info: file format elf64-x86-64
:
:
: Disassembly of section .text:
:
: 00000000004160f0 <lookup_object>:
: memcpy(&i, sha1, sizeof(unsigned int));
: return (int)(i % obj_hash_size);
: }
Ingo
next prev parent reply other threads:[~2009-06-13 11:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-12 22:11 [PATCH 1/2] perfcounters: Print the filename:line for annotated colored lines Frederic Weisbecker
2009-06-12 22:11 ` [PATCH 2/2] perfcounters: print a sorted summary of annotated overhead lines Frederic Weisbecker
2009-06-13 11:02 ` Ingo Molnar
2009-06-13 14:48 ` [tip:perfcounters/core] perf annotate: Print " tip-bot for Frederic Weisbecker
2009-06-13 11:12 ` Ingo Molnar [this message]
2009-06-13 12:35 ` [PATCH 1/2] perfcounters: Print the filename:line for annotated colored lines Frederic Weisbecker
2009-06-13 14:48 ` [tip:perfcounters/core] perf annotate: " tip-bot for Frederic Weisbecker
-- strict thread matches above, loose matches on Subject: below --
2009-06-13 15:25 [PATCH 1/2] perfcounters: " Frederic Weisbecker
2009-06-13 15:26 ` Frederic Weisbecker
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=20090613111248.GA1355@elte.hu \
--to=mingo@elte.hu \
--cc=a.p.zijlstra@chello.nl \
--cc=efault@gmx.de \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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.