lkml.org 
[lkml]   [2013]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: perf: report loops endlessly if record was killed via SIGTERM
From
Date
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



\
 
 \ /
  Last update: 2013-04-29 14:01    [W:0.068 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site