Re: [PATCH v3] perf bench: fix assert when NDEBUG is defined

2012-09-08 Thread Namhyung Kim
On Sat, 8 Sep 2012 08:35:51 +0300, Irina Tirdea wrote: > From: Irina Tirdea > > When NDEBUG is defined, the assert macro will be expanded to nothing. > Some assert calls used in perf are also including some functionality > (e.g. system calls), not only validity checks. Therefore, if NDEBUG is > d

Re: [PATCH v3] perf bench: fix assert when NDEBUG is defined

2012-09-08 Thread Pekka Enberg
On Sat, Sep 8, 2012 at 8:35 AM, Irina Tirdea wrote: > From: Irina Tirdea > > When NDEBUG is defined, the assert macro will be expanded to nothing. > Some assert calls used in perf are also including some functionality > (e.g. system calls), not only validity checks. Therefore, if NDEBUG is > defi

[PATCH v3] perf bench: fix assert when NDEBUG is defined

2012-09-07 Thread Irina Tirdea
From: Irina Tirdea When NDEBUG is defined, the assert macro will be expanded to nothing. Some assert calls used in perf are also including some functionality (e.g. system calls), not only validity checks. Therefore, if NDEBUG is defined, this functionality will be removed along with the assert. P