From: Peter Zijlstra Date: Fri, 20 Nov 2009 21:19:53 +0000 (+0100) Subject: perf: Simplify __perf_event_read X-Git-Tag: v2.6.33-rc1~399^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58e5ad1de3d6ad931c84f0cc8ef0655c922f30ad;p=pandora-kernel.git perf: Simplify __perf_event_read cpuctx is always active, task context is always active for current the previous condition verifies that if its a task context its for current, hence we can assume ctx->is_active. Signed-off-by: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <20091120212509.000272254@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed