commit | a7ac67ea021b4603095d2aa458bc41641238f22c | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Mon Jun 27 16:47:16 2011 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jul 01 11:06:35 2011 +0200 |
tree | e79d13a1096e751061af285265b1862d7e6dca70 | |
parent | a8b0ca17b80e92faab46ee7179ba9e99ccb61233 [diff] |
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 <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/n/tip-2crpvsx3cqu67q3zqjbnlpsc@git.kernel.org Signed-off-by: Ingo Molnar <mingo@elte.hu>