Skip to content
Commit 23cdb5d5 authored by Roel Kluin's avatar Roel Kluin Committed by Ingo Molnar
Browse files

perf_counter tools: Fix index boundary check



Keep index within event_type_descriptors[]

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A5A7F0B.4070106@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d4d7d0b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment