tracing: Change event->profile_count to be int type
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 8 Dec 2009 03:17:29 +0000 (11:17 +0800)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 13 Dec 2009 17:37:28 +0000 (18:37 +0100)
commite00bf2ec60605eb95687b7a0c3b83c87c48541dc
treee0b63423355286bc14cee438b39e9ba681f7327a
parent8d18eaaff5acaa58369be342c86e607643ce10c7
tracing: Change event->profile_count to be int type

Like total_profile_count, struct ftrace_event_call::profile_count
is protected by event_mutex, so it doesn't need to be atomic_t.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <4B1DC549.5010705@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/linux/ftrace_event.h
include/linux/syscalls.h
include/trace/ftrace.h
kernel/trace/trace_event_profile.c
kernel/trace/trace_kprobe.c