On 2024-10-22 03:18:27 [-0400], Steven Rostedt wrote:
> On Mon, 21 Oct 2024 17:08:41 +0200
> Sebastian Andrzej Siewior <[email protected]> wrote:
> 
> >  enum trace_flag_type {
> >     TRACE_FLAG_IRQS_OFF             = 0x01,
> >     TRACE_FLAG_NEED_RESCHED         = 0x02,
> > +   TRACE_FLAG_NEED_RESCHED_LAZY    = 0x04,
> >     TRACE_FLAG_HARDIRQ              = 0x08,
> >     TRACE_FLAG_SOFTIRQ              = 0x10,
> >     TRACE_FLAG_PREEMPT_RESCHED      = 0x20,
> 
> As I stated in the other email, these are user visible. Should probably
> make the LAZY flag 0x100, as the trace_flags are 16 bits worth.

What about struct trace_entry? That flags is stored as 8bit in
tracing_generic_entry_update().

> 
> -- Steve

Sebastian

Reply via email to