Maintainer workflows discussions
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Mark Brown <broonie@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	workflows@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH] docs: submitting-patches: Limit backtrace trimming to timestamps
Date: Thu, 26 Nov 2026 15:30:42 +0200	[thread overview]
Message-ID: <20261126133042.GM774860@unreal> (raw)
In-Reply-To: <00561b8f-c85c-4cb4-82dd-aee3d14e509b@sirena.org.uk>

On Thu, Nov 26, 2026 at 01:22:26PM +0000, Mark Brown wrote:
> On Thu, Nov 26, 2026 at 02:59:59PM +0200, Leon Romanovsky wrote:
> > On Thu, Nov 26, 2026 at 12:23:36PM +0000, Mark Brown wrote:
> 
> > > There's more than that, for example when you get something from a
> > > syscall on arm64 you've got five frames before you get to the point
> > > of even invoke_syscall(), and thirty odd registers printed two per line
> > > the values of which are mostly of minimal interest for posterity.  They
> > > can be very useful, which is why they're printed, but can really benefit
> > > from some editing a lot of the time.
> 
> > We can improve the trimming, starting with the point I proposed - the raw stack
> > trace.
> 
> > In my experience, the current Documentation example and the trimming suggestion
> > go too far.
> 
> I think there's room for improvement but I think what you're proposing
> right now goes far too far in the other direction.  It is a very
> definitive statement that nothing should be removed, it would be better
> to do things like call out specific bits that are generally relevant and
> should not be removed (like taint information) and encourage people to
> use faddr2line.

I'm aware that I took an overly aggressive approach, but there was a
reason for it - it lets us trim the text line by line. If we take the
opposite approach and add request for more information, we'll inevitably
miss important details.

Thanks

      reply	other threads:[~2026-11-26 13:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  8:12 [PATCH] docs: submitting-patches: Limit backtrace trimming to timestamps Leon Romanovsky
2026-11-26  9:45 ` Geert Uytterhoeven
2026-11-26 10:03   ` Leon Romanovsky
2026-11-26 12:23 ` Mark Brown
2026-11-26 12:59   ` Leon Romanovsky
2026-11-26 13:22     ` Mark Brown
2026-11-26 13:30       ` Leon Romanovsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261126133042.GM774860@unreal \
    --to=leon@kernel.org \
    --cc=broonie@kernel.org \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    --cc=workflows@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox