commit | ce677831a4abd0f9f957c90ac6f6a0d0472bafb4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Sun Oct 24 21:50:42 2010 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Dec 16 11:14:31 2010 +0100 |
tree | 755fb098fa0e27bfa710272cd5686dabc7922360 | |
parent | 5167695753c63444a9e6cbbef136200a16c7a225 [diff] |
perf: Fix off by one in perf_swevent_init() The perf_swevent_enabled[] array has PERF_COUNT_SW_MAX elements. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20101024195041.GT5985@bicker> Signed-off-by: Ingo Molnar <mingo@elte.hu>