From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753559AbbIOPhs (ORCPT ); Tue, 15 Sep 2015 11:37:48 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36566 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753444AbbIOPhq (ORCPT ); Tue, 15 Sep 2015 11:37:46 -0400 Date: Tue, 15 Sep 2015 23:37:39 +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: <20150915153739.GA5896@t440s.lenovo> References: <1442301043-635-1-git-send-email-mhuang@redhat.com> <20150915093556.2f2148be@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150915093556.2f2148be@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 09:35am, Steven Rostedt wrote: > On Tue, 15 Sep 2015 15:10:43 +0800 > Minfei Huang wrote: > > > From: Minfei Huang > > > > Since the patch "ftrace: remove daemon(cb7be3b)" remove the function > > ftraced, the variant ftrace_update_time never be used any more. > > > > Remove the unused variant ftrace_update_time. > > Actually, the patch I would like to see is this variable being used. > I'd like to know this statistic. Hi, Steven. 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. > > 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. Thanks Minfei