Re: [REPOST PATCH] ftrace: Remove the unused variant ftrace_update_time

From: Minfei Huang
Date: Tue Sep 15 2015 - 12:02:29 EST


On 09/15/15 at 11:50am, Steven Rostedt wrote:
> On Tue, 15 Sep 2015 23:37:39 +0800
> Minfei Huang <mnfhuang@xxxxxxxxx> 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/