WSL2-Linux-Kernel/tools/perf/util/include/linux
Arnaldo Carvalho de Melo 1967936d68 perf options: Check v type in OPT_U?INTEGER
To avoid problems like the one fixed by Stephane Eranian in 3de29ca, now
we'll got this instead:

	bench/sched-messaging.c:259: error: negative width in bit-field ‘<anonymous>’
	bench/sched-messaging.c:261: error: negative width in bit-field ‘<anonymous>’

Which is rather cryptic, but is how BUILD_BUG_ON_ZERO works, so kernel
hackers should be already used to this.

With it in place found some problems, fixed by changing the affected
variables to sensible types or changed some OPT_INTEGER to OPT_UINTEGER.

Next csets will go thru converting each of the remaining OPT_ so that
review can be made easier by grouping changes per type per patch.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-05-17 15:43:38 -03:00
..
bitmap.h perf tools: Don't use code surrounded by __KERNEL__ 2010-05-02 12:00:44 -03:00
bitops.h perf tools: Don't use code surrounded by __KERNEL__ 2010-05-02 12:00:44 -03:00
compiler.h perf tools: Move __used from perf.h to linux/compiler.h 2010-03-26 08:52:59 +01:00
ctype.h perf tools: Bring linear set of section headers for features 2009-11-11 07:30:19 +01:00
hash.h perf: Add util/include/linuxhash.h to include hash.h of kernel 2010-01-31 08:27:53 +01:00
kernel.h perf options: Check v type in OPT_U?INTEGER 2010-05-17 15:43:38 -03:00
list.h perf_counter tools: Share list.h with the kernel 2009-07-01 22:37:23 +02:00
module.h perf_counter tools: Share rbtree.with the kernel 2009-07-01 22:37:22 +02:00
poison.h perf_counter tools: Share list.h with the kernel 2009-07-01 22:37:23 +02:00
prefetch.h perf_counter tools: Share list.h with the kernel 2009-07-01 22:37:23 +02:00
rbtree.h perf_counter tools: Share rbtree.with the kernel 2009-07-01 22:37:22 +02:00
string.h perf tools: Add missing tools/perf/util/include/string.h 2009-10-20 02:59:34 +02:00
types.h perf tools: Drop asm/types.h wrapper 2009-10-23 07:55:19 +02:00