Re: Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Masami Hiramatsu
(2013/09/05 3:08), Hemant wrote: > On 09/04/2013 02:09 PM, Masami Hiramatsu wrote: >> (2013/09/04 17:25), Mark Wielaard wrote: >>> On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: > On 09/03/2013 02:47 PM, Masami Hiramatsu wrote:

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Andi Kleen
Hemant Kumar Shaw writes: > This series adds support to perf to list and probe into the SDT markers. > The first patch implements listing of all the SDT markers present in > the ELFs (executables or libraries). The SDT markers are present in the > .note.stapsdt section of the elf. That section

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/05/2013 12:22 AM, Mark Wielaard wrote: On Wed, 2013-09-04 at 23:42 +0530, Hemant wrote: On 09/04/2013 01:55 PM, Mark Wielaard wrote: Note that if you use the normal DTRACE_PROBE macros no semaphore will be inserted. And you can opt to not support probes that have a semaphore in perf if

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Mark Wielaard
On Wed, 2013-09-04 at 23:42 +0530, Hemant wrote: > On 09/04/2013 01:55 PM, Mark Wielaard wrote: > > Note that if you use the normal DTRACE_PROBE macros no semaphore will be > > inserted. And you can opt to not support probes that have a semaphore in > > perf if you think that is easier (just check

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/04/2013 01:55 PM, Mark Wielaard wrote: On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: Indeed, and also I'd like to know what versions of SDT this support, and where we can see the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/04/2013 02:09 PM, Masami Hiramatsu wrote: (2013/09/04 17:25), Mark Wielaard wrote: On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: Indeed, and also I'd like to know what versions of

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/04/2013 12:19 PM, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: (2013/09/03 17:25), Ingo Molnar wrote: * Hemant Kumar Shaw wrote: This series adds support to perf to list and probe into the SDT markers. The first

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/04/2013 11:38 AM, Namhyung Kim wrote: Hi Hemant, On Tue, 03 Sep 2013 13:06:40 +0530, Hemant Kumar Shaw wrote: This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries).

Re: Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Masami Hiramatsu
(2013/09/04 17:25), Mark Wielaard wrote: > On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: >> On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: >>> On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: Indeed, and also I'd like to know what versions of SDT this support, and where we can

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Mark Wielaard
On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: > On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: > > On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: > >> Indeed, and also I'd like to know what versions of SDT this support, > >> and where we can see the technical document of that. As far

Re: Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Masami Hiramatsu
(2013/09/04 15:49), Namhyung Kim wrote: > On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: >> On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: >>> (2013/09/03 17:25), Ingo Molnar wrote: * Hemant Kumar Shaw wrote: > This series adds support to perf to list and probe into the SDT

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Namhyung Kim
On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: > On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: >> (2013/09/03 17:25), Ingo Molnar wrote: >>> * Hemant Kumar Shaw wrote: >>> This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Namhyung Kim
Hi Hemant, On Tue, 03 Sep 2013 13:06:40 +0530, Hemant Kumar Shaw wrote: > This series adds support to perf to list and probe into the SDT markers. > The first patch implements listing of all the SDT markers present in > the ELFs (executables or libraries). The SDT markers are present in the >

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Namhyung Kim
Hi Hemant, On Tue, 03 Sep 2013 13:06:40 +0530, Hemant Kumar Shaw wrote: This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries). The SDT markers are present in the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Namhyung Kim
On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: (2013/09/03 17:25), Ingo Molnar wrote: * Hemant Kumar Shaw hks...@linux.vnet.ibm.com wrote: This series adds support to perf to list and probe into the SDT markers. The first patch implements

Re: Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Masami Hiramatsu
(2013/09/04 15:49), Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: (2013/09/03 17:25), Ingo Molnar wrote: * Hemant Kumar Shaw hks...@linux.vnet.ibm.com wrote: This series adds support to perf to list and probe into the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Mark Wielaard
On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: Indeed, and also I'd like to know what versions of SDT this support, and where we can see the technical document of that. As far as I

Re: Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Masami Hiramatsu
(2013/09/04 17:25), Mark Wielaard wrote: On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: Indeed, and also I'd like to know what versions of SDT this support, and where we can see the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/04/2013 11:38 AM, Namhyung Kim wrote: Hi Hemant, On Tue, 03 Sep 2013 13:06:40 +0530, Hemant Kumar Shaw wrote: This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries).

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/04/2013 12:19 PM, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: (2013/09/03 17:25), Ingo Molnar wrote: * Hemant Kumar Shaw hks...@linux.vnet.ibm.com wrote: This series adds support to perf to list and probe into

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/04/2013 02:09 PM, Masami Hiramatsu wrote: (2013/09/04 17:25), Mark Wielaard wrote: On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: Indeed, and also I'd like to know what versions of

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/04/2013 01:55 PM, Mark Wielaard wrote: On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: Indeed, and also I'd like to know what versions of SDT this support, and where we can see the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Mark Wielaard
On Wed, 2013-09-04 at 23:42 +0530, Hemant wrote: On 09/04/2013 01:55 PM, Mark Wielaard wrote: Note that if you use the normal DTRACE_PROBE macros no semaphore will be inserted. And you can opt to not support probes that have a semaphore in perf if you think that is easier (just check the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Hemant
On 09/05/2013 12:22 AM, Mark Wielaard wrote: On Wed, 2013-09-04 at 23:42 +0530, Hemant wrote: On 09/04/2013 01:55 PM, Mark Wielaard wrote: Note that if you use the normal DTRACE_PROBE macros no semaphore will be inserted. And you can opt to not support probes that have a semaphore in perf if

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Andi Kleen
Hemant Kumar Shaw hks...@linux.vnet.ibm.com writes: This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries). The SDT markers are present in the .note.stapsdt section of

Re: Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-04 Thread Masami Hiramatsu
(2013/09/05 3:08), Hemant wrote: On 09/04/2013 02:09 PM, Masami Hiramatsu wrote: (2013/09/04 17:25), Mark Wielaard wrote: On Wed, 2013-09-04 at 15:49 +0900, Namhyung Kim wrote: On Tue, 03 Sep 2013 18:53:17 +0530, Hemant wrote: On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: Indeed, and also

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Ingo Molnar
* Mark Wielaard wrote: > On Tue, 2013-09-03 at 16:21 +0200, Ingo Molnar wrote: > > * Hemant wrote: > > > > > Here is an overview and a high-level-description: > > > > Thanks, looks like a pretty useful feature - especially if SDT probes are > > already widely present in various server

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Hemant
On 09/03/2013 07:51 PM, Ingo Molnar wrote: * Hemant wrote: Here is an overview and a high-level-description: Thanks, looks like a pretty useful feature - especially if SDT probes are already widely present in various server binaries on a typical Linux distro (are they?). Yes, as far as I

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Mark Wielaard
On Tue, 2013-09-03 at 16:21 +0200, Ingo Molnar wrote: > * Hemant wrote: > > > Here is an overview and a high-level-description: > > Thanks, looks like a pretty useful feature - especially if SDT probes are > already widely present in various server binaries on a typical Linux > distro (are

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Ingo Molnar
* Hemant wrote: > Here is an overview and a high-level-description: Thanks, looks like a pretty useful feature - especially if SDT probes are already widely present in various server binaries on a typical Linux distro (are they?). Would be nice to stick some or all of that info into

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Hemant
On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: (2013/09/03 17:25), Ingo Molnar wrote: * Hemant Kumar Shaw wrote: This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries).

Re: Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Masami Hiramatsu
(2013/09/03 17:25), Ingo Molnar wrote: > > * Hemant Kumar Shaw wrote: > >> This series adds support to perf to list and probe into the SDT markers. >> The first patch implements listing of all the SDT markers present in >> the ELFs (executables or libraries). The SDT markers are present in the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Ingo Molnar
* Hemant Kumar Shaw wrote: > This series adds support to perf to list and probe into the SDT markers. > The first patch implements listing of all the SDT markers present in > the ELFs (executables or libraries). The SDT markers are present in the > .note.stapsdt section of the elf. That section

[RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Hemant Kumar Shaw
This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries). The SDT markers are present in the .note.stapsdt section of the elf. That section can be traversed to list all the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Ingo Molnar
* Hemant hks...@linux.vnet.ibm.com wrote: Here is an overview and a high-level-description: Thanks, looks like a pretty useful feature - especially if SDT probes are already widely present in various server binaries on a typical Linux distro (are they?). Would be nice to stick some or all

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Mark Wielaard
On Tue, 2013-09-03 at 16:21 +0200, Ingo Molnar wrote: * Hemant hks...@linux.vnet.ibm.com wrote: Here is an overview and a high-level-description: Thanks, looks like a pretty useful feature - especially if SDT probes are already widely present in various server binaries on a typical Linux

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Hemant
On 09/03/2013 07:51 PM, Ingo Molnar wrote: * Hemant hks...@linux.vnet.ibm.com wrote: Here is an overview and a high-level-description: Thanks, looks like a pretty useful feature - especially if SDT probes are already widely present in various server binaries on a typical Linux distro (are

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Ingo Molnar
* Mark Wielaard m...@redhat.com wrote: On Tue, 2013-09-03 at 16:21 +0200, Ingo Molnar wrote: * Hemant hks...@linux.vnet.ibm.com wrote: Here is an overview and a high-level-description: Thanks, looks like a pretty useful feature - especially if SDT probes are already widely

[RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Hemant Kumar Shaw
This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries). The SDT markers are present in the .note.stapsdt section of the elf. That section can be traversed to list all the

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Ingo Molnar
* Hemant Kumar Shaw hks...@linux.vnet.ibm.com wrote: This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries). The SDT markers are present in the .note.stapsdt section of

Re: Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Masami Hiramatsu
(2013/09/03 17:25), Ingo Molnar wrote: * Hemant Kumar Shaw hks...@linux.vnet.ibm.com wrote: This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs (executables or libraries). The SDT markers are

Re: [RFC PATCH 0/2] Perf support to SDT markers

2013-09-03 Thread Hemant
On 09/03/2013 02:47 PM, Masami Hiramatsu wrote: (2013/09/03 17:25), Ingo Molnar wrote: * Hemant Kumar Shaw hks...@linux.vnet.ibm.com wrote: This series adds support to perf to list and probe into the SDT markers. The first patch implements listing of all the SDT markers present in the ELFs