aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/oprofile/op_impl.h
AgeCommit message (Collapse)Author
2009-11-05sh: oprofile: Fix up count size mismatch for common impl.Paul Mundt
This reduces the 'count' size in the common support structure to 32-bits so that it matches up with what oprofile is expecting. The SH7750 code was using a nasty oprofilefs hack to expose the 48-bit counter, although no other implementations were. Now that the offending driver has been killed off, it's possible to restore some semblance of sanity. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-12-22sh: oprofile: Refactor common setup code for multiple driver support.Paul Mundt
This re-implements the old op_model_null code in to something more generic, where multiple drivers, backtrace, etc. can all be interfaced. Based largely on arch/mips/oprofile/common.c. Signed-off-by: Paul Mundt <lethal@linux-sh.org>