Re: [PATCH] perf, tools, stat: Include asm/bug.h for WARN_ON

From: Andi Kleen
Date: Wed Feb 17 2016 - 14:15:52 EST


On Wed, Feb 17, 2016 at 03:56:21PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Feb 17, 2016 at 03:52:09PM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Wed, Feb 17, 2016 at 10:39:08AM -0800, Andi Kleen escreveu:
> > > In my set up (separate objdir, DEBUG=1) tip perf doesn't build without this change.
> > > It may be that in some other setups asm/bug.h is implicitely included.
>
> > Thanks, applying your fix, after making it build on acme/perf/core:
>
> I take that back, it is already there:

Ok, but not in tip/perf/core. Can you push it there please?

-Andi