Messages in this thread | | | Date | Wed, 17 Feb 2016 15:56:21 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] perf, tools, stat: Include asm/bug.h for WARN_ON |
| |
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:
[acme@jouet linux]$ git blame tools/perf/builtin-stat.c | grep -w bug\.h ba6039b6c8fcc tools/perf/builtin-stat.c (Jiri Olsa 2015-11-05 15:40:55 +0100 64) #include "asm/bug.h" [acme@jouet linux]$ git log --oneline -1 ba6039b6c8fcc ba6039b6c8fc perf stat report: Add report command [acme@jouet linux]$ git tag --contains ba6039b6c8fcc v4.5-rc1 v4.5-rc2 v4.5-rc3 v4.5-rc4 [acme@jouet linux]$
- Arnaldo
| |