From: Josh Steadmon Date: Tue, 31 May 2022 17:59:43 GMT Subject: Re: [RFC PATCH 0/3] trace2: log "signal" end events if we invoke BUG() Message-ID: In-Reply-To: On 2022.05.25 18:20, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason writes: > > > (depending on the TZ) that he'd encountered trace2 event streams > > without an "exit" event, which as discussed can be seen from usage.c > > is due to our invoking of abort() there. > > Josh, is this related to the "in rare cases" thing we discussed on > the "run-command: don't spam trace2_child_exit()" thread? > > https://lore.kernel.org/git/4616d09ffa632bd2c9e308a713c4bdf2a1328c3c.1651179450.git.steadmon@google.com/ > No, this is a much more frequent issue than the repeated "child_exit" events from that thread. Any time Git exits without calling our exit() wrapper, we don't log any "exit" events (and presumably skip "atexit" as well).