[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2t2c26teepdqq42sx4tbwgithyn63jgy2y23qfv2zy4xff35jf@tesnotcstkzb>
Date: Wed, 10 Sep 2025 06:07:33 -0700
From: Breno Leitao <leitao@...ian.org>
To: "Matthieu Baerts (NGI0)" <matttbe@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Carlos Llamas <cmllamas@...gle.com>, Elliot Berman <quic_eberman@...cinc.com>,
Stephen Boyd <swboyd@...omium.org>, Luca Ceresoli <luca.ceresoli@...tlin.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] scripts/decode_stacktrace.sh: symbol: avoid trailing
whitespaces
On Mon, Sep 08, 2025 at 05:41:57PM +0200, Matthieu Baerts (NGI0) wrote:
> Lines having a symbol to decode might not always have info after this
> symbol. It means ${info_str} might not be set, but it will always be
> printed after a space, causing trailing whitespaces.
>
> That's a detail, but when the output is opened with an editor marking
> these trailing whitespaces, that's a bit disturbing. It is easy to
> remove them by printing this variable with a space only if it is set.
>
> While at it, do the same with ${module} and print everything in one line.
>
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@...nel.org>
Reviewed-by: Breno Leitao <leitao@...ian.org>
Powered by blists - more mailing lists