[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120727084055.GA6679@linux.vnet.ibm.com>
Date: Fri, 27 Jul 2012 14:10:55 +0530
From: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
To: Ananth N Mavinakayanahalli <ananth@...ibm.com>
Cc: linuxppc-dev@...ts.ozlabs.org, lkml <linux-kernel@...r.kernel.org>,
benh@...nel.crashing.org, Paul Mackerras <paulus@...ba.org>,
Anton Blanchard <anton@...ba.org>, michael@...erman.id.au,
Ingo Molnar <mingo@...e.hu>, peterz@...radead.org,
oleg@...hat.com
Subject: Re: [PATCH v3 2/2] powerpc: Uprobes port to powerpc
* Ananth N Mavinakayanahalli <ananth@...ibm.com> [2012-07-26 10:50:29]:
> From: Ananth N Mavinakayanahalli <ananth@...ibm.com>
>
> This is the port of uprobes to powerpc. Usage is similar to x86.
>
> [root@...x ~]# ./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@...x ~]# ./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@...x ~]# ./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@...ibm.com>
Acked-by: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists