tracing: use union for multi-usages field
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 24 Mar 2009 05:38:06 +0000 (13:38 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Mar 2009 15:43:12 +0000 (16:43 +0100)
commitee000b7f9fe429d2470c674ccec8d344f6789e0d
tree35b480a5e5fb90d5a414d942bcb541e7887334d6
parentcc59c9e8d0165c632fd056c4a23e36f917507fb4
tracing: use union for multi-usages field

Impact: cleanup

struct dyn_ftrace::ip has different usages in his lifecycle,
we use union for it. And also for struct dyn_ftrace::flags.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <49C871BE.3080405@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace.h
kernel/trace/ftrace.c