On Fri, Jun 20, 2025 at 02:37:20PM +0000, Tanish Desai wrote: > diff --git a/scripts/tracetool/backend/ftrace.py > b/scripts/tracetool/backend/ftrace.py > index baed2ae61c..2d6d608add 100644 > --- a/scripts/tracetool/backend/ftrace.py > +++ b/scripts/tracetool/backend/ftrace.py > @@ -34,18 +34,15 @@ def generate_h(event, group): > ' char ftrace_buf[MAX_TRACE_STRLEN];', > ' int unused __attribute__ ((unused));', > ' int trlen;', > - ' if (trace_event_get_state(%(event_id)s)) {', > '#line %(event_lineno)d "%(event_filename)s"', > ' trlen = snprintf(ftrace_buf, MAX_TRACE_STRLEN,', > ' "%(name)s " %(fmt)s "\\n" > %(argnames)s);',
Please unindent lines now that "if (trace_event_get_state(...)) {" is gone and deeper indentation is not necessary anymore. There are more instances below in this patch.
signature.asc
Description: PGP signature