aha/Documentation/perf_counter
Ingo Molnar 16f762a2ac perf_counter tools: Introduce stricter C code checking
Tighten up our C code requirements:

 - disallow warnings
 - disallow declarations-mixed-with-statements
 - require proper prototypes
 - require C99 (with gcc extensions)

Fix up a ton of problems these measures unearth:

 - unused functions
 - needlessly global functions
 - missing prototypes
 - code mixed with declarations

Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20090526222155.GJ4424@ghostprotocols.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-05-27 08:10:35 +02:00
..
Documentation perf report: Add help/manpage 2009-05-26 13:11:57 +02:00
util perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
.gitignore perf_counter tools: add in basic glue from Git 2009-04-20 17:36:48 +02:00
builtin-help.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin-record.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin-report.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin-stat.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin-top.c perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
builtin.h perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
command-list.txt perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
design.txt perf_counter: documentation update 2009-05-01 13:23:45 +02:00
Makefile perf_counter tools: Introduce stricter C code checking 2009-05-27 08:10:35 +02:00
perf.c perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
perf.h perf_counter tools: increase limits, fix 2009-05-25 09:59:50 +02:00