[PATCH 10/10] tools: Pass arg to fdarray__filter's call back function

2016-05-25 Thread Arnaldo Carvalho de Melo
From: Wang Nan Before this patch there's no way to pass arguments to fdarray__filter's call back function. This improvement will be used by 'perf record' to support unmapping ring buffer for both main evlist and overwrite evlist. Without this patch there's no way to track

[PATCH 10/10] tools: Pass arg to fdarray__filter's call back function

2016-05-25 Thread Arnaldo Carvalho de Melo
From: Wang Nan Before this patch there's no way to pass arguments to fdarray__filter's call back function. This improvement will be used by 'perf record' to support unmapping ring buffer for both main evlist and overwrite evlist. Without this patch there's no way to track overwrite evlist from