From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
To: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org,
lkml <linux-kernel@vger.kernel.org>,
benh@kernel.crashing.org, Paul Mackerras <paulus@samba.org>,
Anton Blanchard <anton@samba.org>,
michael@ellerman.id.au, Ingo Molnar <mingo@elte.hu>,
peterz@infradead.org, oleg@redhat.com
Subject: Re: [PATCH v3 2/2] powerpc: Uprobes port to powerpc
Date: Fri, 27 Jul 2012 14:10:55 +0530 [thread overview]
Message-ID: <20120727084055.GA6679@linux.vnet.ibm.com> (raw)
In-Reply-To: <20120726052029.GB29466@in.ibm.com>
* Ananth N Mavinakayanahalli <ananth@in.ibm.com> [2012-07-26 10:50:29]:
> From: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
>
> This is the port of uprobes to powerpc. Usage is similar to x86.
>
> [root@xxxx ~]# ./bin/perf probe -x /lib64/libc.so.6 malloc
> Added new event:
> probe_libc:malloc (on 0xb4860)
>
> You can now use it in all perf tools, such as:
>
> perf record -e probe_libc:malloc -aR sleep 1
>
> [root@xxxx ~]# ./bin/perf record -e probe_libc:malloc -aR sleep 20
> [ perf record: Woken up 22 times to write data ]
> [ perf record: Captured and wrote 5.843 MB perf.data (~255302 samples) ]
> [root@xxxx ~]# ./bin/perf report --stdio
> ...
>
> # Samples: 83K of event 'probe_libc:malloc'
> # Event count (approx.): 83484
> #
> # Overhead Command Shared Object Symbol
> # ........ ............ ............. ..........
> #
> 69.05% tar libc-2.12.so [.] malloc
> 28.57% rm libc-2.12.so [.] malloc
> 1.32% avahi-daemon libc-2.12.so [.] malloc
> 0.58% bash libc-2.12.so [.] malloc
> 0.28% sshd libc-2.12.so [.] malloc
> 0.08% irqbalance libc-2.12.so [.] malloc
> 0.05% bzip2 libc-2.12.so [.] malloc
> 0.04% sleep libc-2.12.so [.] malloc
> 0.03% multipathd libc-2.12.so [.] malloc
> 0.01% sendmail libc-2.12.so [.] malloc
> 0.01% automount libc-2.12.so [.] malloc
>
> Patch applies on the current master branch of Linus' tree (bdc0077af).
> The trap_nr addition patch is a prereq.
>
> Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
next prev parent reply other threads:[~2012-07-27 8:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-26 5:19 [PATCH 1/2] powerpc: Add trap_nr to thread_struct Ananth N Mavinakayanahalli
2012-07-26 5:20 ` [PATCH v3 2/2] powerpc: Uprobes port to powerpc Ananth N Mavinakayanahalli
2012-07-27 8:40 ` Srikar Dronamraju [this message]
2012-08-15 16:59 ` Oleg Nesterov
2012-08-15 21:41 ` Benjamin Herrenschmidt
2012-08-16 5:00 ` Ananth N Mavinakayanahalli
2012-08-16 15:21 ` Oleg Nesterov
2012-08-17 5:13 ` Ananth N Mavinakayanahalli
2012-08-17 15:00 ` Oleg Nesterov
2012-08-21 11:24 ` Ananth N Mavinakayanahalli
2012-08-21 13:09 ` Oleg Nesterov
2012-08-22 8:32 ` Ananth N Mavinakayanahalli
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=20120727084055.GA6679@linux.vnet.ibm.com \
--to=srikar@linux.vnet.ibm.com \
--cc=ananth@in.ibm.com \
--cc=anton@samba.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=michael@ellerman.id.au \
--cc=mingo@elte.hu \
--cc=oleg@redhat.com \
--cc=paulus@samba.org \
--cc=peterz@infradead.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;
as well as URLs for NNTP newsgroup(s).