Re: [PATCH v3 1/3] SDT markers listing by perf:

2013-10-20 Thread Hemant Kumar
Hi Masami, On 10/19/2013 08:57 PM, Masami Hiramatsu wrote: (2013/10/18 23:44), Hemant Kumar wrote: [...] +int show_sdt_notes(const char *target) +{ + int ret; + LIST_HEAD(sdt_notes); + + ret = get_sdt_note_list(&sdt_notes, target); + if (!list_empty(&sdt_notes)) { +

Re: [PATCH v3 1/3] SDT markers listing by perf:

2013-10-19 Thread Masami Hiramatsu
(2013/10/18 23:44), Hemant Kumar wrote: > This patch will enable perf to list all the sdt markers present > in an elf file. The markers are present in the .note.stapsdt section > of the elf. We can traverse through this section and collect the > required info about the markers. > We can use '-M/--m

[PATCH v3 1/3] SDT markers listing by perf:

2013-10-18 Thread Hemant Kumar
This patch will enable perf to list all the sdt markers present in an elf file. The markers are present in the .note.stapsdt section of the elf. We can traverse through this section and collect the required info about the markers. We can use '-M/--markers' with perf to view the SDT notes. Currentl