Re: [PATCH 1/3] perf: Return proper values for user stack errors

2018-04-16 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 16, 2018 at 01:54:30PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Sun, Apr 15, 2018 at 11:23:50AM +0200, Jiri Olsa escreveu: > > Return immediately when we find issue in the user > > stack checks. The error value could get overwritten > > by following check for PERF_SAMPLE_REGS_INTR

Re: [PATCH 1/3] perf: Return proper values for user stack errors

2018-04-16 Thread Arnaldo Carvalho de Melo
Em Sun, Apr 15, 2018 at 11:23:50AM +0200, Jiri Olsa escreveu: > Return immediately when we find issue in the user > stack checks. The error value could get overwritten > by following check for PERF_SAMPLE_REGS_INTR. > > Signed-off-by: Jiri Olsa Also, since you're sending this to syskaller-bugs,

Re: [PATCH 1/3] perf: Return proper values for user stack errors

2018-04-16 Thread Arnaldo Carvalho de Melo
Em Sun, Apr 15, 2018 at 11:23:50AM +0200, Jiri Olsa escreveu: > Return immediately when we find issue in the user > stack checks. The error value could get overwritten > by following check for PERF_SAMPLE_REGS_INTR. Applied, together with a: Cc: Stephane Eranian Cc: Ingo Molnar Fixes: 60e2364e6