From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751881AbaKGPBv (ORCPT ); Fri, 7 Nov 2014 10:01:51 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:63093 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750974AbaKGPBs (ORCPT ); Fri, 7 Nov 2014 10:01:48 -0500 From: Jean-Jacques Hiblot To: jslaby@suse.cz, linux@arm.linux.org.uk, rostedt@goodmis.org, mingo@redhat.com, nsekhar@ti.com, stefano.stabellini@eu.citrix.com, christoffer.dall@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jean-Jacques Hiblot Subject: [PATCH] arm: ftrace: Adds support for ftrace operations Date: Fri, 7 Nov 2014 15:59:11 +0100 Message-Id: <1415372352-15664-1-git-send-email-jjhiblot@traphandler.com> X-Mailer: git-send-email 2.1.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 (git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git) 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(-) -- 2.1.3