[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240517101613.0584c291@gandalf.local.home>
Date: Fri, 17 May 2024 10:16:13 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Jani Nikula <jani.nikula@...ux.intel.com>
Cc: LKML <linux-kernel@...r.kernel.org>, Linux trace kernel
<linux-trace-kernel@...r.kernel.org>
Subject: Re: [PATCH] tracing/treewide: Remove second parameter of
__assign_str()
On Fri, 17 May 2024 10:08:51 +0300
Jani Nikula <jani.nikula@...ux.intel.com> wrote:
> On Thu, 16 May 2024, Steven Rostedt <rostedt@...dmis.org> wrote:
> > There's over 700 users of __assign_str() and because coccinelle does not
> > handle the TRACE_EVENT() macro I ended up using the following sed script:
> >
> > git grep -l __assign_str | while read a ; do
> > sed -e 's/\(__assign_str([^,]*[^ ,]\) *,[^;]*/\1)/' $a > /tmp/test-file;
> > mv /tmp/test-file $a;
> > done
>
> Try 'sed -i' ;)
I've always been nervous about trusting -i ;-)
>
> > .../drm/i915/display/intel_display_trace.h | 56 ++++-----
>
> On i915,
>
> Acked-by: Jani Nikula <jani.nikula@...el.com>
>
Thanks,
-- Steve
Powered by blists - more mailing lists