From: David Ahern Date: Thu, 8 Aug 2013 02:50:58 +0000 (-0400) Subject: perf session: Change perf_session__has_traces to actually check for tracepoints X-Git-Tag: v3.12-rc1~168^3~17^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93ea01c29d4ed5a9fcf6d9a95bc584e54a420834;p=pandora-kernel.git perf session: Change perf_session__has_traces to actually check for tracepoints Any event can have RAW data attribute set. The intent of the function is to determine if the session has tracepoints, so check for the type of each event explicitly. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1375930261-77273-17-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed