From: Stephane Eranian Date: Wed, 21 Apr 2010 16:06:01 +0000 (+0200) Subject: perf: Fix initialization bug in parse_single_tracepoint_event() X-Git-Tag: v2.6.35-rc1~522^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5710fcad7c367adefe5634dc998f1f88780a8457;p=pandora-kernel.git perf: Fix initialization bug in parse_single_tracepoint_event() The parse_single_tracepoint_event() was setting some attributes before it validated the event was indeed a tracepoint event. This caused problems with other initialization routines like in the builtin-top.c module whereby sample_period is not set if not 0. Signed-off-by: Stephane Eranian Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Paul Mackerras Cc: Ingo Molnar LKML-Reference: <4bcf232b.698fd80a.6fbe.ffffb737@mx.google.com> Signed-off-by: Frederic Weisbecker --- Reading git-diff-tree failed