lkml.org 
[lkml]   [2023]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 03/86] Revert "ftrace: Use preemption model accessors for trace header printout"
Date

Steven Rostedt <rostedt@goodmis.org> writes:

> On Tue, 7 Nov 2023 13:56:49 -0800
> Ankur Arora <ankur.a.arora@oracle.com> wrote:
>
>> This reverts commit 089c02ae2771a14af2928c59c56abfb9b885a8d7.
>
> I rather not revert this.
>
> If user space can decided between various version of preemption, then the
> trace should reflect that. At least state what the preemption model was when
> a trace started, or currently is.
>
Oh absolutely. As I mention in the cover at least these three patches
would be back:

089c02ae2771 ("ftrace: Use preemption model accessors for trace header printout")
cfe43f478b79 ("preempt/dynamic: Introduce preemption model accessors")
5693fa74f98a ("kcsan: Use preemption model accessors")

The intent was (which I didn't do for the RFC), to do the reverts as cleanly
as possible, do the changes for the series and then bring these patches back
with appropriate modifications.

> That is, the model may not be "static" per boot. Anyway, the real change here should be:

Yeah, I intended to do something like that.

Or would you prefer these not be reverted (and reapplied) at all -- just fixed
as you describe here?

> Then this way we can decided to make it runtime dynamic, we don't need to
> fiddle with the tracing code again.

Yeah, that makes sense.

--
ankur

\
 
 \ /
  Last update: 2023-11-20 13:52    [W:0.833 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site