Re: [PATCH] perf diff: Report noisy for cycles diff

From: Jiri Olsa
Date: Tue Jul 16 2019 - 04:51:17 EST


On Fri, Jul 12, 2019 at 03:53:55PM +0800, Jin Yao wrote:
> This patch prints the stddev and hist for the cycles diff of
> program block. It can help us to understand if the cycles diff
> is noisy or not.

I'm getting compile error:

CC builtin-diff.o
builtin-diff.c: In function âcompute_cycles_diffâ:
builtin-diff.c:712:10: error: taking the absolute value of unsigned type âu64â {aka âlong unsigned intâ} has no effect [-Werror=absolute-value]
712 | labs(pair->block_info->cycles_spark[i] -
| ^~~~
cc1: all warnings being treated as errors
mv: cannot stat './.builtin-diff.o.tmp': No such file or directory


jirka