Re: [PATCH v2 0/3] perf/sdt : Support for SDT markers

2014-07-21 Thread Masami Hiramatsu
(2014/07/21 21:24), Hemant Kumar wrote: > > On 07/20/2014 08:46 AM, Masami Hiramatsu wrote: >> (2014/07/20 2:32), Hemant Kumar wrote: > [SNIP] > First, scan the binaries using : > # perf list sdt --scan At a glance, maybe we'd better have perf sdt-cache as like as perf b

Re: [PATCH v2 0/3] perf/sdt : Support for SDT markers

2014-07-21 Thread Hemant Kumar
On 07/20/2014 08:46 AM, Masami Hiramatsu wrote: (2014/07/20 2:32), Hemant Kumar wrote: [SNIP] First, scan the binaries using : # perf list sdt --scan At a glance, maybe we'd better have perf sdt-cache as like as perf buildid-cache for manage sdt information. what would you think? I agree w

Re: [PATCH v2 0/3] perf/sdt : Support for SDT markers

2014-07-20 Thread Namhyung Kim
Hi Masami and Hemant, On Sun, 20 Jul 2014 12:16:46 +0900, Masami Hiramatsu wrote: > (2014/07/20 2:32), Hemant Kumar wrote: We have lots of applications which use SDT markers today, like: Postgresql, MySql, Mozilla, Perl, Python, Java, Ruby, libvirt, QEMU, glib To add SDT marker

Re: Re: [PATCH v2 0/3] perf/sdt : Support for SDT markers

2014-07-19 Thread Masami Hiramatsu
(2014/07/20 2:32), Hemant Kumar wrote: >>> We have lots of applications which use SDT markers today, like: >>> Postgresql, MySql, Mozilla, Perl, Python, Java, Ruby, libvirt, QEMU, glib >>> >>> To add SDT markers into user applications: >>> We need to have this header sys/sdt.h present. >>> sys/sdt.

Re: [PATCH v2 0/3] perf/sdt : Support for SDT markers

2014-07-19 Thread Hemant Kumar
On 07/18/2014 04:53 PM, Masami Hiramatsu wrote: Hi Hemant, (2014/07/17 14:53), Hemant Kumar wrote: This patchset helps in listing dtrace style markers(SDT) present in user space applications through perf. Notes/markers are placed at important places by the developers. They have a negligible ov

Re: [PATCH v2 0/3] perf/sdt : Support for SDT markers

2014-07-18 Thread Masami Hiramatsu
Hi Hemant, (2014/07/17 14:53), Hemant Kumar wrote: > This patchset helps in listing dtrace style markers(SDT) present in user space > applications through perf. > Notes/markers are placed at important places by the > developers. They have a negligible overhead when not enabled. > We can enable the

[PATCH v2 0/3] perf/sdt : Support for SDT markers

2014-07-18 Thread Hemant Kumar
This patchset helps in listing dtrace style markers(SDT) present in user space applications through perf. Notes/markers are placed at important places by the developers. They have a negligible overhead when not enabled. We can enable them and probe at these places and find some important informatio