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>
Showing
- include/linux/ftrace_event.h 1 addition, 1 deletioninclude/linux/ftrace_event.h
- include/linux/syscalls.h 0 additions, 2 deletionsinclude/linux/syscalls.h
- include/trace/ftrace.h 0 additions, 1 deletioninclude/trace/ftrace.h
- kernel/trace/trace_event_profile.c 3 additions, 3 deletionskernel/trace/trace_event_profile.c
- kernel/trace/trace_kprobe.c 0 additions, 1 deletionkernel/trace/trace_kprobe.c
Loading
Please register or sign in to comment