Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753936AbcKRO3N (ORCPT ); Fri, 18 Nov 2016 09:29:13 -0500 Received: from smtprelay0053.hostedemail.com ([216.40.44.53]:53511 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753865AbcKRO3K (ORCPT ); Fri, 18 Nov 2016 09:29:10 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2692:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:5007:6261:6742:7875:7903:10004:10400:10471:10848:10967:11232:11658:11914:12296:12740:12760:13069:13255:13311:13357:13439:13972:14096:14097:14181:14659:14721:21080:21451:30054:30056:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: fork57_32899f0a3b537 X-Filterd-Recvd-Size: 2300 Date: Fri, 18 Nov 2016 09:29:05 -0500 From: Steven Rostedt To: Chunyan Zhang Cc: mathieu.poirier@linaro.org, alexander.shishkin@linux.intel.com, mingo@redhat.com, mike.leach@arm.com, tor@ti.com, philippe.langlais@st.com, nicolas.guion@st.com, felipe.balbi@linux.intel.com, zhang.lyra@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH V8 1/3] tracing: add a possibility of exporting function trace to other places instead of ring buffer only Message-ID: <20161118092905.769044bf@gandalf.local.home> In-Reply-To: <1479438454-28650-2-git-send-email-zhang.chunyan@linaro.org> References: <1479438454-28650-1-git-send-email-zhang.chunyan@linaro.org> <1479438454-28650-2-git-send-email-zhang.chunyan@linaro.org> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 26 On Fri, 18 Nov 2016 11:07:32 +0800 Chunyan Zhang wrote: > Currently Function traces can be only exported to ring buffer, this > patch added trace_export concept which can process traces and export > them to a registered destination as an addition to the current only > one output of Ftrace - i.e. ring buffer. > > In this way, if we want Function traces to be sent to other destination > rather than ring buffer only, we just need to register a new trace_export > and implement its own .write() function for writing traces to storage. > > With this patch, only Function trace (trace type is TRACE_FN) > is supported. > > Signed-off-by: Chunyan Zhang This looks good to me, although I would like this to go through my tree (to make sure it gets all my testing). I understand the next two patches depend on this, how would you want to go about that? One is that I can pull it in the next merge window, and the rest go in after that. Or I can take the other two patches with the proper acks as well. -- Steve