Re: [PATCH 04/12] perf tools: Convert to LIBUNWIND_SUPPORT

From: Jiri Olsa
Date: Mon Oct 01 2012 - 04:45:25 EST


On Fri, Sep 28, 2012 at 06:32:00PM +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@xxxxxxx>
>
> For building perf without libunwind, we can set NO_LIBUNWIND=1 as a
> argument of make. It then defines NO_LIBUNWIND_SUPPORT macro for C
> code to do the proper handling. However it usually used in a negative
> semantics - e.g. #ifndef - so we saw double negations which can be
> misleading. Convert it to a positive form to make it more readable.
>
> Also change NO_PERF_REGS macro to HAVE_PERF_REGS for the same reason.
>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/