]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: perf: fix group validation when using enable_on_exec
authorWill Deacon <will.deacon@arm.com>
Tue, 20 Aug 2013 10:47:41 +0000 (11:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:18:03 +0000 (17:18 -0700)
commit1f96d83b38937294584ede9473c2b2961528f287
treeb5805eb5d4f38584d28bca1e37136bbb9a0a02c8
parent008fe511c11fa20d1060c9e2ddb9c829ac44e0a7
arm64: perf: fix group validation when using enable_on_exec

commit 8455e6ec70f33b0e8c3ffd47067e00481f09f454 upstream.

This is a port of cb2d8b342aa0 ("ARM: 7698/1: perf: fix group validation
when using enable_on_exec") to arm64, which fixes the event validation
checking so that events in the OFF state are still considered when
enable_on_exec is true.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/perf_event.c