Messages in this thread | | | Subject | Re: [PATCH 2/4] ftrace: Remove unused ftrace_update_time variable/code | From | Steven Rostedt <> | Date | Wed, 25 Apr 2012 07:26:16 -0400 |
| |
On Wed, 2012-04-25 at 10:23 +0200, Jiri Olsa wrote: > The update time of the records update is meassured but never > used. It was probably dropped along the way, removing it.
No it's not dropped. I have patches that read it. But you are correct, that I should either add those patches, or moved this code out into those patches, and keep the kernel clean.
Actually, as there's a debug file in the debugfs code now (dyn_ftrace_total_info). That would be a good place to put this info.
-- Steve
> > Also changing ftrace_update_cnt static variable into automatic, > since it's used only in ftrace_update_code function.
| |