Re: [PATCH] tools: Improve signal handling in xen-vmtrace

2021-03-01 Thread Ian Jackson
Andrew Cooper writes ("Re: [PATCH] tools: Improve signal handling in xen-vmtrace"): > In which case, what other signals potentially need dealing with?  Lets > get them all fixed in one go. > > When that's done, we should make it installed by default, to match its &

Re: [PATCH] tools: Improve signal handling in xen-vmtrace

2021-03-01 Thread Ian Jackson
Hubert Jasudowicz writes ("[PATCH] tools: Improve signal handling in xen-vmtrace"): > Make sure xen-vmtrace exits cleanly in case SIGPIPE is sent. This can > happen when piping the output to some other program. > > Additionaly, add volatile qualifier to interrupted fl

Re: [PATCH] tools: Improve signal handling in xen-vmtrace

2021-02-26 Thread Andrew Cooper
On 26/02/2021 10:59, Hubert Jasudowicz wrote: > Make sure xen-vmtrace exits cleanly in case SIGPIPE is sent. This can > happen when piping the output to some other program. > > Additionaly, add volatile qualifier to interrupted flag to avoid > it being optimized away by the compiler. > > Signed-off

Re: [PATCH] tools: Improve signal handling in xen-vmtrace

2021-02-26 Thread Hubert Jasudowicz
On 2021-02-26, Hubert Jasudowicz wrote: > Make sure xen-vmtrace exits cleanly in case SIGPIPE is sent. This can > happen when piping the output to some other program. > > Additionaly, add volatile qualifier to interrupted flag to avoid > it being optimized away by the compiler. > > Signed-off-by:

[PATCH] tools: Improve signal handling in xen-vmtrace

2021-02-26 Thread Hubert Jasudowicz
Make sure xen-vmtrace exits cleanly in case SIGPIPE is sent. This can happen when piping the output to some other program. Additionaly, add volatile qualifier to interrupted flag to avoid it being optimized away by the compiler. Signed-off-by: Hubert Jasudowicz --- tools/misc/xen-vmtrace.c | 5