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

2014-10-06 Thread Hemant Kumar
On 10/07/2014 08:29 AM, Namhyung Kim wrote: On Wed, 01 Oct 2014 08:17:48 +0530, Hemant Kumar wrote: This patch adds a new sub-command to perf : sdt-cache. sdt-cache command can be used to add, remove and dump SDT events. This patch adds support to only "add" the SDT events. The rest of the patc

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

2014-10-06 Thread Namhyung Kim
On Wed, 01 Oct 2014 08:17:48 +0530, Hemant Kumar wrote: > This patch adds a new sub-command to perf : sdt-cache. > sdt-cache command can be used to add, remove and dump SDT events. > This patch adds support to only "add" the SDT events. The rest of the > patches add support to rest of them. > > Whe

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

2014-10-01 Thread Hemant Kumar
This patch adds a new sub-command to perf : sdt-cache. sdt-cache command can be used to add, remove and dump SDT events. This patch adds support to only "add" the SDT events. The rest of the patches add support to rest of them. When user invokes "perf sdt-cache add ", two hash tables are created: