From: Arnaldo Carvalho de Melo Date: Mon, 24 Sep 2012 13:46:54 +0000 (-0300) Subject: perf kmem: Use perf_evsel__intval and perf_session__set_tracepoints_handlers X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~3^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f7d2f1b65e3415854bbe842705f698a3350d7da;p=pandora-kernel.git perf kmem: Use perf_evsel__intval and perf_session__set_tracepoints_handlers Following the model of 'perf sched': . raw_field_value searches first on the common fields, that are unused in this tool . Using perf_session__set_tracepoints_handlers will save all those strcmp to find the right handler at sample processing time, do it just once and get the handler from evsel->handler.func. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-v9x3q9rv4caxtox7wtjpchq5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed