diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-12-08 11:17:29 +0800 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-13 18:37:28 +0100 |
commit | e00bf2ec60605eb95687b7a0c3b83c87c48541dc (patch) | |
tree | e0b63423355286bc14cee438b39e9ba681f7327a /include/trace/ftrace.h | |
parent | 8d18eaaff5acaa58369be342c86e607643ce10c7 (diff) | |
download | kernel_samsung_aries-e00bf2ec60605eb95687b7a0c3b83c87c48541dc.zip kernel_samsung_aries-e00bf2ec60605eb95687b7a0c3b83c87c48541dc.tar.gz kernel_samsung_aries-e00bf2ec60605eb95687b7a0c3b83c87c48541dc.tar.bz2 |
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>
Diffstat (limited to 'include/trace/ftrace.h')
-rw-r--r-- | include/trace/ftrace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 0c21af8..7352315 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h @@ -629,7 +629,6 @@ static void ftrace_profile_disable_##name(struct ftrace_event_call *unused)\ #ifdef CONFIG_EVENT_PROFILE #define _TRACE_PROFILE_INIT(call) \ - .profile_count = ATOMIC_INIT(-1), \ .profile_enable = ftrace_profile_enable_##call, \ .profile_disable = ftrace_profile_disable_##call, |