From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754290AbbIOQC0 (ORCPT ); Tue, 15 Sep 2015 12:02:26 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:36162 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751759AbbIOQCY (ORCPT ); Tue, 15 Sep 2015 12:02:24 -0400 Date: Wed, 16 Sep 2015 00:00:46 +0800 From: Minfei Huang To: Steven Rostedt Cc: Minfei Huang , mingo@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [REPOST PATCH] ftrace: Remove the unused variant ftrace_update_time Message-ID: <20150915160046.GA14393@t440s.lenovo> References: <1442301043-635-1-git-send-email-mhuang@redhat.com> <20150915093556.2f2148be@gandalf.local.home> <20150915153739.GA5896@t440s.lenovo> <20150915115057.2b9bea60@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150915115057.2b9bea60@gandalf.local.home> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/15/15 at 11:50am, Steven Rostedt wrote: > On Tue, 15 Sep 2015 23:37:39 +0800 > Minfei Huang wrote: > > > > I think the variant ftrace_update_time is not used any more. Previously, > > it is used to print the time how long ftrace will spend to update the > > code in fucntion ftraced. > > Yes, I know what it measures. It's been on my todo list to export that > out to userspace, as it is an interesting metric. > Export the time which ftrace spent to update the all of the function? How about exporting the time ftrace spent in latest time? Thanks Minfei > > > > > > > > Maybe add it to the dyn_ftrace_total_info file? > > > > > > > This file only uses the variant ftrace_update_tot_cnt which is stored > > the updated function number. > > But we can add to that file with a space delimited output. > > -- Steve >