Re: [PATCH v3 2/5] perf/sdt: Add SDT events into a cache

2014-10-24 Thread Hemant Kumar
On 10/22/2014 10:11 AM, Namhyung Kim wrote: On Fri, 10 Oct 2014 16:28:24 +0530, Hemant Kumar wrote: This patch adds a new sub-command to perf : sdt-cache. sdt-cache command can be used to add SDT events. When user invokes "perf sdt-cache add ", a hash table/list is created named as file_hash li

Re: [PATCH v3 2/5] perf/sdt: Add SDT events into a cache

2014-10-23 Thread Masami Hiramatsu
Hi Hermant, (2014/10/10 19:58), Hemant Kumar wrote: > + > +/** > + * sdt_note__read: Parse SDT note info > + * @data: string containing the SDT note's info > + * @sdt_list: empty list > + * > + * Parse @data to find out SDT note name, provider, location and semaphore. > + * All these data are sepa

Re: [PATCH v3 2/5] perf/sdt: Add SDT events into a cache

2014-10-21 Thread Namhyung Kim
On Fri, 10 Oct 2014 16:28:24 +0530, Hemant Kumar wrote: > This patch adds a new sub-command to perf : sdt-cache. > sdt-cache command can be used to add SDT events. > When user invokes "perf sdt-cache add ", a hash table/list is > created named as file_hash list. A typical entry in a file_hash table