From: Peter Zijlstra Date: Mon, 27 Jun 2011 14:47:16 +0000 (+0200) Subject: perf: Remove the perf_output_begin(.sample) argument X-Git-Tag: v3.1-rc1~299^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7ac67ea021b4603095d2aa458bc41641238f22c;p=pandora-kernel.git perf: Remove the perf_output_begin(.sample) argument Since only samples call perf_output_sample() its much saner (and more correct) to put the sample logic in there than in the perf_output_begin()/perf_output_end() pair. Saves a useless argument, reduces conditionals and shrinks struct perf_output_handle, win! Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-2crpvsx3cqu67q3zqjbnlpsc@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed