lkml.org 
[lkml]   [2014]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 2/3] perf record: Propagate exit status of a command line workload
On Tue, Apr 29, 2014 at 01:33:04PM +0200, Peter Zijlstra wrote:
> On Tue, Apr 29, 2014 at 01:19:39PM +0200, Peter Zijlstra wrote:
> > On Tue, Apr 29, 2014 at 12:56:54PM +0200, Jiri Olsa wrote:
> > >
> > > perf_counter tools: Propagate signals properly
> > > commit f7b7c26e01e51fe46097e11f179dc71ce7950084
> > > Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
> > > Date: Wed Jun 10 15:55:59 2009 +0200
> > >
> > > but I dont think we need to do that
> >
> > But but but, then you're re-introducing that fail again? That no good.
>
> The thing is, just the return value is not sufficient to determine if
> the child was interrupted.
>
> See WAIT(2), things like WIFSIGNALED() will not work when you just
> propagate the return value, you need to terminate the task with a
> signal to propagate this.
>

cool, I just asked this in another email ;-) thanks

jirka


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