tracing: Fix sign fields in ftrace_define_fields_##call()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 15 Dec 2009 07:39:38 +0000 (15:39 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 30 Dec 2009 15:27:06 +0000 (10:27 -0500)
commitfb7ae981cb9fe8665b9da97e8734745e030c151d
tree7b127c1bd4c0457c30f57d0f9c6ceacf69ab88c2
parente96dc9674cb597de4fee757ed005c8465072d13f
tracing: Fix sign fields in ftrace_define_fields_##call()

Add is_signed_type() call to trace_define_field() in ftrace macros.

The code previously just passed in 0 (false), disregarding whether
or not the field was actually a signed type.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4B273D3A.6020007@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/ftrace.h
kernel/trace/trace_export.c