Skip to content
Commit e6ffe17e authored by dann's avatar dann Committed by Chris Zankel
Browse files

xtensa: add support for oprofile



Support call graph profiling.
Keep upper two bits of PC unchanged through backtrace rather than take
them from sp (a1). The stack pointer is usually in the same GB (same
upper 2 bits) as PC, but technically doesn't always have to be (and
might not in the future, when taking full advantage of MMU v3).

Signed-off-by: default avatarDan Nicolaescu <dann@xtensa-linux.org>
Signed-off-by: default avatarPete Delaney <piet@tensilica.com>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent 2d6f82fe
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