From: Arnaldo Carvalho de Melo Date: Fri, 21 Sep 2012 19:10:26 +0000 (-0300) Subject: perf kvm: Use perf_evsel__intval X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~3^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14907e73830a256ad726a35a93789a9bc9595490;p=pandora-kernel.git perf kvm: Use perf_evsel__intval Using plain raw_field_value(evsel->tp_format) will look at the common fields as well, and since this tool doesn't need those, speed it up a bit by looking at just the event specific fields. Also in general use just evsel and sample, just like was done in 'perf sched'. v2: Fixed up test against evsel->name, that contains the subsys name too, by David Ahern. Cc: David Ahern Cc: Dong Hao Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Xiao Guangrong Cc: Runzhen Wang Link: http://lkml.kernel.org/n/tip-v9x3q9rv4caxtox7wtjpchq5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed