[PATCH] arm: ftrace: Adds support for ftrace operations

Jean-Jacques Hiblot jjhiblot at traphandler.com
Fri Nov 7 06:59:11 PST 2014

Hi all,

This patch adds support for ftrace operations on the ARM architecture.
This support is needed by kgraft and possibly other ftrace-based tools.
My goal is to have kgraft working on ARM and aarch64.

I tested this patch with a toy implementation of kgraft for ARM and basic
usage of function and function_graph tracers
It doesn't show any problem with the ftrace selftests and the tests found
today in branch ftrace/testing-mystuff of linux-trace repository

Jean-Jacques Hiblot (1):
  arm: ftrace: Adds support for ftrace operations

 arch/arm/Kconfig               |  2 ++
 arch/arm/include/asm/ftrace.h  |  3 ++
 arch/arm/kernel/entry-common.S | 68 +++++++++++++++++++++++++++++++++++++++++-
 arch/arm/kernel/ftrace.c       | 34 +++++++++++++++++++++
 4 files changed, 106 insertions(+), 1 deletion(-)


More information about the linux-arm-kernel mailing list