From: Feng Tang Date: Tue, 30 Oct 2012 03:56:03 +0000 (+0800) Subject: perf script: Add more filter to find_scripts() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~77^2~7^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e639e256ea18fb92f609dd6be09883cd9d05aa;p=pandora-kernel.git perf script: Add more filter to find_scripts() As suggested by Arnaldo, many scripts have their own usages and need capture specific events or tracepoints, so only those scripts whose target events match the events in current perf data file should be listed in the script browser menu. This patch will add the event match checking, by opening "xxx-record" script to cherry pick out all events name and comparing them with those inside the perf data file. Signed-off-by: Feng Tang Cc: Andi Kleen Cc: Ingo Molnar Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1351569369-26732-3-git-send-email-feng.tang@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed