lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150915163202.GB14393@t440s.lenovo>
Date:	Wed, 16 Sep 2015 00:32:02 +0800
From:	Minfei Huang <mnfhuang@...il.com>
To:	Steven Rostedt <rostedt@...dmis.org>
Cc:	Minfei Huang <mhuang@...hat.com>, mingo@...hat.com,
	linux-kernel@...r.kernel.org
Subject: Re: [REPOST PATCH] ftrace: Remove the unused variant
 ftrace_update_time

On 09/15/15 at 12:12pm, Steven Rostedt wrote:
> On Wed, 16 Sep 2015 00:00:46 +0800
> Minfei Huang <mnfhuang@...il.com> wrote:
> 
> > On 09/15/15 at 11:50am, Steven Rostedt wrote:
> > > On Tue, 15 Sep 2015 23:37:39 +0800
> > > Minfei Huang <mnfhuang@...il.com> 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?
> > 
> 
> I think you misunderstood me. I want to export what it is now. The time
> it took to run ftrace_update_code() the last time it ran. Not a total
> amount of time that it ran for.
> 

Got it.

There is one more confusion. Is it valuable to export such info to
userspace? What does user do, if kernel exports this?

Thanks
Minfei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ