mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Galbraith <bitbucket@online.de>
To: David Ahern <dsahern@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Arnaldo Carvalho de Melo <acme@infradead.org>
Subject: Re: perf: report loops endlessly if record was killed via SIGTERM
Date: Mon, 29 Apr 2013 13:43:21 +0200	[thread overview]
Message-ID: <1367235801.4656.66.camel@marge.simpson.net> (raw)
In-Reply-To: <517E5905.1070700@gmail.com>

On Mon, 2013-04-29 at 07:27 -0400, David Ahern wrote: 
> On 4/29/13 4:00 AM, Mike Galbraith wrote:
> > Say SIGINT instead,
> > and it works as expected.  SIGTERM leaves perf.data in a bad state that
> > report can't deal with, but it'll happily keep trying forever.
> 
> header is usually updated on_exit which requires a clean exit. perhaps 
> we should add SIGTERM to the signal list.

Yeah.  Graceful exit, and idiot proofing for free :)

-Mike


      reply	other threads:[~2013-04-29 11:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29  8:00 Mike Galbraith
2013-04-29 11:27 ` David Ahern
2013-04-29 11:43   ` Mike Galbraith [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=1367235801.4656.66.camel@marge.simpson.net \
    --to=bitbucket@online.de \
    --cc=acme@infradead.org \
    --cc=dsahern@gmail.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®