lkml.org 
[lkml]   [2022]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/9] perf report: Ignore SIGPIPE for srcline
From

On 12/15/2022 9:28 PM, Namhyung Kim wrote:
> It can get SIGPIPE when it uses an external addr2line process and the
> process was terminated unexpectedly. Let's ignore the signal and move
> on to the next sample. The sample will get the default srcline value
> anyway.


That's a bit dangerous -- if perf report output is piped to something
else you really want to stop on SIGPIPE.

You would need to find a way to distinguish those cases.

-Andi

\
 
 \ /
  Last update: 2022-12-16 08:26    [W:0.062 / U:1.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site