commit | 7cc23cd6c0c7d7f4bee057607e7ce01568925717 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Fri May 03 14:11:25 2013 +0200 |
committer | Ingo Molnar <mingo@kernel.org> | Sun May 05 10:58:11 2013 +0200 |
tree | 9d2b46d8cc614f6ad11ed82b0f93e855e8531f42 | |
parent | 6e15eb3ba6c0249c9e8c783517d131b47db995ca [diff] |
perf/x86/intel/lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL We should always have proper privileges when requesting kernel data. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: <stable@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: eranian@google.com Link: http://lkml.kernel.org/r/20130503121256.230745028@chello.nl [ Fix build error reported by fengguang.wu@intel.com, propagate error code back. ] Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: http://lkml.kernel.org/n/tip-v0x9ky3ahzr6nm3c6ilwrili@git.kernel.org