Re: [PATCH 47/61] perf c2c report: Add cacheline browser

From: Jiri Olsa
Date: Wed Sep 21 2016 - 04:22:06 EST


On Tue, Sep 20, 2016 at 03:10:07PM -0500, Kim Phillips wrote:
> On Mon, 19 Sep 2016 15:09:56 +0200
> Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> > + /* reset abort key so that it can get Ctrl-C as a key */
> > + SLang_reset_tty();
> > + SLang_init_tty(0, 0, 0);
>
> this fails to build on systems without slang:
>
> CC builtin-c2c.o
> builtin-c2c.c: In function âperf_c2c__browse_cachelineâ:
> builtin-c2c.c:2211:2: error: implicit declaration of function âSLang_reset_ttyâ [-Werror=implicit-function-declaration]
> SLang_reset_tty();

will fix, thanks

jirka