sh: oprofile: Refactor common setup code for multiple driver support.
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>
Showing
- arch/sh/oprofile/Makefile 4 additions, 7 deletionsarch/sh/oprofile/Makefile
- arch/sh/oprofile/common.c 141 additions, 0 deletionsarch/sh/oprofile/common.c
- arch/sh/oprofile/op_impl.h 33 additions, 0 deletionsarch/sh/oprofile/op_impl.h
- arch/sh/oprofile/op_model_null.c 0 additions, 23 deletionsarch/sh/oprofile/op_model_null.c
Loading
Please register or sign in to comment