diff options
author | markus.t.metzger@intel.com <markus.t.metzger@intel.com> | 2009-09-02 16:04:46 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-04 09:26:39 +0200 |
commit | 747b50aaf728987732e6ff3ba10aba4acc4e0277 (patch) | |
tree | dd1b75f7d14b8bf7dff2519058516be69e70c356 /arch/x86/kernel/cpu/bugs.c | |
parent | dc86cabe4b242446ea9aa8492c727e1220817898 (diff) |
x86, perf_counter, bts: Fail if BTS is not available
Reserve PERF_COUNT_HW_BRANCH_INSTRUCTIONS with sample_period ==
1 for BTS tracing and fail, if BTS is not available.
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090902140612.943801000@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/bugs.c')
0 files changed, 0 insertions, 0 deletions