Re: [RFC PATCH v1 1/2] perf/sdt : Listing of SDT markers by perf

2014-02-25 Thread Namhyung Kim
Hi Hemant, On Tue, 25 Feb 2014 14:33:37 +0530, Hemant Kumar wrote: > On 02/25/2014 12:26 PM, Namhyung Kim wrote: >>> + /* Translation from file representation to memory representation */ >>> + if (gelf_xlatetom(*elf, &dst, &src, >>> + elf_getident(*elf, NULL)[EI_DATA]) == N

Re: [RFC PATCH v1 1/2] perf/sdt : Listing of SDT markers by perf

2014-02-25 Thread Hemant Kumar
On 02/25/2014 12:26 PM, Namhyung Kim wrote: Hi Hemant, On Mon, 24 Feb 2014 14:45:43 +0530, Hemant Kumar wrote: This patch enables perf to list the SDT markers present in a system. It looks in dsos given by ldconfig --print-cache and for other binaries, it looks into the PATH environment variabl

Re: [RFC PATCH v1 1/2] perf/sdt : Listing of SDT markers by perf

2014-02-24 Thread Namhyung Kim
Hi Hemant, On Mon, 24 Feb 2014 14:45:43 +0530, Hemant Kumar wrote: > This patch enables perf to list the SDT markers present in a system. It looks > in dsos given by ldconfig --print-cache and for other binaries, it looks into > the PATH environment variable. After preparing a list of the binaries

[RFC PATCH v1 1/2] perf/sdt : Listing of SDT markers by perf

2014-02-24 Thread Hemant Kumar
This patch enables perf to list the SDT markers present in a system. It looks in dsos given by ldconfig --print-cache and for other binaries, it looks into the PATH environment variable. After preparing a list of the binaries, then it starts searching for SDT markers in them. To find the SDT marker