Re: [PATCH 2/3] perf, expr: Remove assert usage

2019-09-24 Thread Jiri Olsa
On Mon, Sep 23, 2019 at 04:33:38PM -0700, Andi Kleen wrote: > From: Andi Kleen > > My "compile perf statically" setup doesn't like this assert > for unknown reasons. Replace it with a standard BUG_ON > > Signed-off-by: Andi Kleen > --- > tools/perf/util/expr.y | 4 ++-- > 1 file changed, 2 ins

[PATCH 2/3] perf, expr: Remove assert usage

2019-09-23 Thread Andi Kleen
From: Andi Kleen My "compile perf statically" setup doesn't like this assert for unknown reasons. Replace it with a standard BUG_ON Signed-off-by: Andi Kleen --- tools/perf/util/expr.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/expr.y b/tools/perf/u