diff options
| author | 2011-02-09 11:35:12 +0100 | |
|---|---|---|
| committer | 2011-02-10 15:29:03 +0000 | |
| commit | cb06199b1df492fcfbaedd2256b5054f944b664f (patch) | |
| tree | 910e7c88876d5e56be4d4f96dc1ab99868ec047c /tools/perf/scripts/python/syscall-counts.py | |
| parent | ARM: fixup SMP alternatives in modules (diff) | |
| download | linux-dev-cb06199b1df492fcfbaedd2256b5054f944b664f.tar.xz linux-dev-cb06199b1df492fcfbaedd2256b5054f944b664f.zip | |
ARM: 6654/1: perf/oprofile: fix off-by-one in stack check
Since tail is the previous fp - 1, we need to compare the new fp with tail + 1
to ensure that we don't end up passing in the same tail again, in order to
avoid a potential infinite loop in the perf interrupt handler (which has been
observed to occur). A similar fix seems to be needed in the OProfile code.
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
