]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf tools: Add 'make DEBUG=1' to remove the -O6 cflag
authorSteven Rostedt <srostedt@redhat.com>
Tue, 20 Oct 2009 23:19:34 +0000 (19:19 -0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Oct 2009 11:39:57 +0000 (13:39 +0200)
commit60d526f7fa6246b8e32d5b45610d625a5608d988
treee943b1a366ffee2b7f6de590e3eb688ffc030c82
parentc88e4bf60de6253a048cf4e6b3b0715e543e0460
perf tools: Add 'make DEBUG=1' to remove the -O6 cflag

When using gdb to debug perf, it is practically impossible to
use when perf is compiled with -O6. For developers, this patch
adds the DEBUG feature to the make command line so that a
developer can easily remove the optimization flag.

LKML-Reference: <1255590330.8392.446.camel@twins>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20091020232033.984323261@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile