Re: [PATCH v2 4/5] perf/sdt: Delete SDT events from cache

2014-10-06 Thread Hemant Kumar
On 10/07/2014 08:47 AM, Namhyung Kim wrote: On Wed, 01 Oct 2014 08:18:41 +0530, Hemant Kumar wrote: This patch adds the support to delete SDT events from the cache. To delete an event corresponding to a file, first the cache is read into the file_hash list. The key is calculated from the file n

Re: [PATCH v2 4/5] perf/sdt: Delete SDT events from cache

2014-10-06 Thread Namhyung Kim
On Wed, 01 Oct 2014 08:18:41 +0530, Hemant Kumar wrote: > This patch adds the support to delete SDT events from the cache. > To delete an event corresponding to a file, first the cache is read into > the file_hash list. The key is calculated from the file name. > And then, the file_list for that fi

[PATCH v2 4/5] perf/sdt: Delete SDT events from cache

2014-10-01 Thread Hemant Kumar
This patch adds the support to delete SDT events from the cache. To delete an event corresponding to a file, first the cache is read into the file_hash list. The key is calculated from the file name. And then, the file_list for that file_hash entry is traversed to find out the target file_list entr