Revision 65b4711ff513767341aa1915c822de6ec0de65cb authored by Will Deacon on 02 September 2010, 08:32:08 UTC, committed by Russell King on 02 September 2010, 15:36:42 UTC
The validate_event function in the ARM perf events backend has the following problems: 1.) Events that are disabled count towards the cost. 2.) Events associated with other PMUs [for example, software events or breakpoints] do not count towards the cost, but do fail validation, causing the group to fail. This patch changes validate_event so that it ignores events in the PERF_EVENT_STATE_OFF state or that are scheduled for other PMUs. Reported-by: Pawel Moll <pawel.moll@arm.com> Acked-by: Jamie Iles <jamie.iles@picochip.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 026b5ca
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.3 KB |
Makefile | -rw-r--r-- | 160 bytes |
checkpoint.c | -rw-r--r-- | 22.4 KB |
commit.c | -rw-r--r-- | 32.0 KB |
journal.c | -rw-r--r-- | 65.7 KB |
recovery.c | -rw-r--r-- | 18.5 KB |
revoke.c | -rw-r--r-- | 20.9 KB |
transaction.c | -rw-r--r-- | 66.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...