From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AE6221D3C0 for ; Sun, 21 Sep 2025 21:26:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758489962; cv=none; b=hF7C3q/5xi/ty1eBQIsTAjxox54QFIh2elnq/Xrf8Kr+qMFI6REj/sLeJ2Jl9AzGeZ0gQiq5aryNHPe7x8ywOayC6EvFKdP6oTqOtUJEwcdjl4paLkXhXMHIY5XtwcOlAa/AEOz3eAjbJZvAwBkBfBvElzxM+NGJvw2UlqRLnx0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758489962; c=relaxed/simple; bh=xdQFikp5N2uZKry9tuDKcKu0aRLqh27TnohTBJoIFBg=; h=Date:To:From:Subject:Message-Id; b=acmdkLF9/3bH3LpTrPP3TMYNeo+11S3KN4eYnQ+ZUQCjI9RFxV752qsxBq2HiKhT1djW1piqDoh+P8lgr1j9/v0+XnNOV85E/o617YJ03Df6IB6ySRCiHlwiQsXBTeYDOxEUi10EKQmhv2TYCiFdOM1Z2QBmzbnnd7jLGu7SlNY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=KJgRhgR6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="KJgRhgR6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AE1EC4CEE7; Sun, 21 Sep 2025 21:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1758489962; bh=xdQFikp5N2uZKry9tuDKcKu0aRLqh27TnohTBJoIFBg=; h=Date:To:From:Subject:From; b=KJgRhgR6Own7D5CWVlBhMLw8mtGXwvkgZ0sYndDtS+dei6lzJ66JUqMJmdIzyLsk7 bK/pwzNi51VdK5BuRmGK0BIGPBWbz7FXovGMUZuk80xHoABV/67/r8G5OVvCGS7zUm f0Y02LQ1n6srMJjk4NxFZjyuHYVXPHNI7q32gGe8= Date: Sun, 21 Sep 2025 14:26:01 -0700 To: mm-commits@vger.kernel.org,swboyd@chromium.org,quic_eberman@quicinc.com,luca.ceresoli@bootlin.com,leitao@debian.org,cmllamas@google.com,matttbe@kernel.org,akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-stable] scripts-decode_stacktracesh-symbol-avoid-trailing-whitespaces.patch removed from -mm tree Message-Id: <20250921212602.0AE1EC4CEE7@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The quilt patch titled Subject: scripts/decode_stacktrace.sh: symbol: avoid trailing whitespaces has been removed from the -mm tree. Its filename was scripts-decode_stacktracesh-symbol-avoid-trailing-whitespaces.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: "Matthieu Baerts (NGI0)" Subject: scripts/decode_stacktrace.sh: symbol: avoid trailing whitespaces Date: Mon, 08 Sep 2025 17:41:57 +0200 A few patches slightly improving the output generated by decode_stacktrace.sh. This patch (of 3): 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. Link: https://lkml.kernel.org/r/20250908-decode_strace_indent-v1-0-28e5e4758080@kernel.org Link: https://lkml.kernel.org/r/20250908-decode_strace_indent-v1-1-28e5e4758080@kernel.org Signed-off-by: Matthieu Baerts (NGI0) Reviewed-by: Carlos Llamas Reviewed-by: Breno Leitao Reviewed-by: Luca Ceresoli Cc: Carlos Llamas Cc: Elliot Berman Cc: Stephen Boyd Signed-off-by: Andrew Morton --- scripts/decode_stacktrace.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- a/scripts/decode_stacktrace.sh~scripts-decode_stacktracesh-symbol-avoid-trailing-whitespaces +++ a/scripts/decode_stacktrace.sh @@ -323,12 +323,7 @@ handle_line() { parse_symbol # modifies $symbol # Add up the line number to the symbol - if [[ -z ${module} ]] - then - echo "${words[@]}" "$symbol ${info_str}" - else - echo "${words[@]}" "$symbol $module ${info_str}" - fi + echo "${words[@]}" "${symbol}${module:+ ${module}}${info_str:+ ${info_str}}" } while read line; do _ Patches currently in -mm which might be from matttbe@kernel.org are