Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758188Ab3DXJ1W (ORCPT ); Wed, 24 Apr 2013 05:27:22 -0400 Received: from LGEMRELSE6Q.lge.com ([156.147.1.121]:63586 "EHLO LGEMRELSE6Q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758027Ab3DXJ1U (ORCPT ); Wed, 24 Apr 2013 05:27:20 -0400 X-AuditID: 9c930179-b7b5bae0000069d1-59-5177a576c719 From: Namhyung Kim To: Steven Rostedt Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Paul Mackerras , Ingo Molnar , Namhyung Kim , LKML , Frederic Weisbecker , Jiri Olsa , David Ahern , Stephane Eranian Subject: Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command References: <1366705872-12132-1-git-send-email-namhyung@kernel.org> <1366732681.9609.157.camel@gandalf.local.home> Date: Wed, 24 Apr 2013 18:27:17 +0900 In-Reply-To: <1366732681.9609.157.camel@gandalf.local.home> (Steven Rostedt's message of "Tue, 23 Apr 2013 11:58:01 -0400") Message-ID: <87ip3cb7nu.fsf@sejong.aot.lge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1900 Lines: 55 Hi Steve, On Tue, 23 Apr 2013 11:58:01 -0400, Steven Rostedt wrote: > On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >> Hello, >> >> This patchset implements a front-end tool for kernel's ftrace. It >> uses function_graph tracer by default and normal function tracer is >> also supported. (Of course you need to enable those tracers in your >> kernel first.) >> >> NOTE: It's in very early stage, so may contain many rough edges. >> > > Very nice Namhyung, thanks for doing this. I did a quick run through of > the patches and I have no complaints about them. I'm not sure how the > others will feel about it. Thanks! > > Also, have you given thought on how to execute both ftrace and the pmu > counters? That is, to get a way to interleave the data? I didn't think about it yet. I just thought enabling event tracing in ftrace and get the data along with the function tracing. I'm not sure how they interfere each other when enabled at the same time. If that's not a valid concern, I think it's doable. > I added a 'perf' clock to ftrace. I didn't see that being checked, > although I didn't look too hard. If possible, you can use that, as well > as the multi-buffers that are coming in 3.10. Will look at it later. > > I would also like to add a system call to allow you to get to the ftrace > data without the need for debugfs. I'm not sure if we should piggy back > on the perf system call, or add a new one. I'm thinking we should add a > new one so that it doesn't get too confusing. Could you elaborate on it more? I cannot see how it'll look like.. > > Hope others have comments, Thanks for your kind review. Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/