Re: [PATCH 1/2] ftrace: make dynamic ftrace more robust

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Rostedt
Date: Wednesday, October 22, 2008 - 4:07 am

On Wed, 22 Oct 2008, Ingo Molnar wrote:


Yes it is important to know the reason of failure, since it helps with
diagnosing the issue.


I had in mind for 2.6.29 that I would let an arch add another non-error 
code that says, "FAIL NICELY". This is a way, for example, to let an
arch not be able to modify the code because it does not have the ability
yet. Like with the trampoline example. I wanted to let the arch say,
I do not make this kind of change, but it is not a bug (I didn't modify
anything) simply ignore. And have ftrace simply remove the record and go
on.


Sorry, I missed writing this. I had it in other patches, but forgot to
add the change log here. These are areas, just like the __init section
that I have no way ok finding out in an arch independent way, what to
remove from the ftrace records. So by not adding these notraces, we are
guaranteed to hit the warnings above!


Fine. I'll replace all WARN_ONs with FTRACE_WARN_ONS.


The reason for the naming was that ftrace_kill was used when I knew 
something was wrong but not seriously wrong. But enough to disable ftrace 
with the kstop_machine. But fine, I'll fix it.

-- Steve

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] ftrace: make dynamic ftrace more robust, Steven Rostedt, (Tue Oct 21, 9:40 am)
Re: [PATCH 1/2] ftrace: make dynamic ftrace more robust, Ingo Molnar, (Tue Oct 21, 11:53 pm)
Re: [PATCH 1/2] ftrace: make dynamic ftrace more robust, Steven Rostedt, (Wed Oct 22, 4:07 am)
Re: [PATCH 1/2] ftrace: make dynamic ftrace more robust, Steven Rostedt, (Wed Oct 22, 4:28 am)
Re: [PATCH 1/2] ftrace: make dynamic ftrace more robust, Steven Rostedt, (Wed Oct 22, 5:07 am)