From: Dima Kogan <dima@secretsauce.net>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] perf: we can now read separate debug-info files based on a build ID
Date: Wed, 16 Sep 2015 11:50:06 -0700 [thread overview]
Message-ID: <87si6exkpt.fsf@secretsauce.net> (raw)
In-Reply-To: <87si6pfwz4.fsf@secretsauce.net>
Hi. This is a gentle ping. This patch fixes a real bug, and it'd be
great if it was merged.
Here's a demo. This is on a recent Debian/sid box, tracing malloc()
calls in emacs. The debug symbols for libc and emacs are split into
separate (installed) packages, as is the norm.
$ perf probe -x /lib/x86_64-linux-gnu/libc-2.19.so --add malloc
$ perf record -g -eprobe_libc:malloc -p `pidof emacs`
Before patch:
$ perf script | head -n 10
emacs 7750 [001] 353845.297868: probe_libc:malloc: (7f4fbde59020)
7c020 malloc (/lib/x86_64-linux-gnu/libc-2.19.so)
144877 [unknown] (/usr/bin/emacs-snapshot-lucid)
144989 [unknown] (/usr/bin/emacs-snapshot-lucid)
144bcc [unknown] (/usr/bin/emacs-snapshot-lucid)
15a91b [unknown] (/usr/bin/emacs-snapshot-lucid)
99f25 [unknown] (/usr/bin/emacs-snapshot-lucid)
199211 [unknown] (/usr/bin/emacs-snapshot-lucid)
1a0c6b [unknown] (/usr/bin/emacs-snapshot-lucid)
1ed86 [unknown] (/usr/bin/emacs-snapshot-lucid)
After patch:
$ perf script | head -n 10
emacs 7750 [001] 353845.297868: probe_libc:malloc: (7f4fbde59020)
7c020 malloc (/lib/x86_64-linux-gnu/libc-2.19.so)
144877 allocate_string_data (/usr/bin/emacs-snapshot-lucid)
144989 make_uninit_multibyte_string (/usr/bin/emacs-snapshot-lucid)
144bcc make_uninit_string.part.18 (/usr/bin/emacs-snapshot-lucid)
15a91b make_buffer_string_both (/usr/bin/emacs-snapshot-lucid)
99f25 decode_coding_object (/usr/bin/emacs-snapshot-lucid)
199211 read_process_output (/usr/bin/emacs-snapshot-lucid)
1a0c6b wait_reading_process_output (/usr/bin/emacs-snapshot-lucid)
1ed86 sit_for (/usr/bin/emacs-snapshot-lucid)
next prev parent reply other threads:[~2015-09-16 18:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 2:47 [PATCH 0/2] perf: we can now read separate debug-info files based on a build ID Dima Kogan
2015-09-16 18:50 ` Dima Kogan [this message]
2015-10-28 2:50 ` Dima Kogan
2015-10-28 12:59 ` Arnaldo Carvalho de Melo
2015-10-29 9:42 ` [tip:perf/core] perf symbols: Fix type error when reading a build-id tip-bot for Dima Kogan
2015-10-29 9:42 ` [tip:perf/core] perf symbols: we can now read separate debug-info files based on a build ID tip-bot for Dima Kogan
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=87si6exkpt.fsf@secretsauce.net \
--to=dima@secretsauce.net \
--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 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.