From mboxrd@z Thu Jan 1 00:00:00 1970 From: jjhiblot@traphandler.com (Jean-Jacques Hiblot) Date: Fri, 07 Nov 2014 18:01:40 +0100 Subject: [PATCH] arm: ftrace: Adds support for ftrace operations In-Reply-To: <20141107115225.72bc6cbf@gandalf.local.home> References: <1415372352-15664-1-git-send-email-jjhiblot@traphandler.com> <20141107115225.72bc6cbf@gandalf.local.home> Message-ID: <545CFAF4.8030104@traphandler.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 11/07/2014 05:52 PM, Steven Rostedt wrote: > On Fri, 7 Nov 2014 15:59:11 +0100 > Jean-Jacques Hiblot wrote: > >> 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. > > Can you add this to the change log of the patch. As that would be what > goes into git history. Because honestly, I had no idea what you meant > by "ftrace operations". If I don't understand that term, how can you > expect anyone else to? I'll try to come up with a clearer commit log. > >> >> 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) > > Those tests are no where near what I have. Does this code work on the > beagle bone white? If so, I can probably run my full suite on it. It should work on any arm processor, It's not platform or SOC dependent > > -- Steve > >> >> 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(-) >> > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752012AbaKGRD5 (ORCPT ); Fri, 7 Nov 2014 12:03:57 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:32802 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751338AbaKGRD4 (ORCPT ); Fri, 7 Nov 2014 12:03:56 -0500 Message-ID: <545CFAF4.8030104@traphandler.com> Date: Fri, 07 Nov 2014 18:01:40 +0100 From: Jean-Jacques Hiblot Reply-To: jjhiblot@traphandler.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Steven Rostedt CC: linux@arm.linux.org.uk, stefano.stabellini@eu.citrix.com, nsekhar@ti.com, linux-kernel@vger.kernel.org, mingo@redhat.com, linux-arm-kernel@lists.infradead.org, jslaby@suse.cz, christoffer.dall@linaro.org Subject: Re: [PATCH] arm: ftrace: Adds support for ftrace operations References: <1415372352-15664-1-git-send-email-jjhiblot@traphandler.com> <20141107115225.72bc6cbf@gandalf.local.home> In-Reply-To: <20141107115225.72bc6cbf@gandalf.local.home> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/07/2014 05:52 PM, Steven Rostedt wrote: > On Fri, 7 Nov 2014 15:59:11 +0100 > Jean-Jacques Hiblot wrote: > >> 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. > > Can you add this to the change log of the patch. As that would be what > goes into git history. Because honestly, I had no idea what you meant > by "ftrace operations". If I don't understand that term, how can you > expect anyone else to? I'll try to come up with a clearer commit log. > >> >> 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) > > Those tests are no where near what I have. Does this code work on the > beagle bone white? If so, I can probably run my full suite on it. It should work on any arm processor, It's not platform or SOC dependent > > -- Steve > >> >> 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(-) >> > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >