Skip to content

SH ftrace fixes

Matt Fleming linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sh: Fix the value of MCOUNT_INSN_OFFSETarch/sh/include/asm/ftrace.h+2 -20 replies
2/3sh: Define HAVE_FUNCTION_TRACE_MCOUNT_TESTarch/sh/Kconfig arch/sh/lib/mcount.S+17 -10 replies
3/3sh: Add ftrace syscall tracing supportarch/sh/Kconfig arch/sh/include/asm/ftrace.h arch/sh/include/asm/syscall_32.h +5 more+107 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] 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(-)