Skip to contentSkip to conversation

SH ftrace fixes

PATCH New Matt Fleming 1 participant 1 message Jul 6, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

cover SH ftrace fixes

Paul,

the following ftrace patches are available at,

git://github.com/mfleming/linux-2.6.git sh/ftrace

I've included them here to make them easier to review. In particular, you might want to look over "sh: Add ftrace syscall tracing support" to make sure that you're OK with the HI and LO bits.

Matt Fleming (3):
sh: Fix the value of MCOUNT_INSN_OFFSET
sh: Define HAVE_FUNCTION_TRACE_MCOUNT_TEST
sh: Add ftrace syscall tracing support

 arch/sh/Kconfig                   |    2 +
 arch/sh/include/asm/ftrace.h      |    8 +++-
 arch/sh/include/asm/syscall_32.h  |    1 +
 arch/sh/include/asm/thread_info.h |   21 ++++++++---
 arch/sh/kernel/Makefile_32        |    1 +
 arch/sh/kernel/entry-common.S     |   14 ++++++--
 arch/sh/kernel/ftrace.c           |   66 +++++++++++++++++++++++++++++++++++++
 arch/sh/kernel/ptrace_32.c        |    8 ++++
 arch/sh/lib/mcount.S              |   17 +++++++++-
 9 files changed, 126 insertions(+), 12 deletions(-)