]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ftrace: Rename ftrace_ops field from trampolines to nr_trampolines
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 23 Jul 2014 19:03:00 +0000 (15:03 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 23 Jul 2014 19:03:00 +0000 (15:03 -0400)
commit0162d621ddf3bd02bf7de324dcf002d9c84c5059
treeba112ba7396d042a0409b6794c7d53e49f28c2be
parentba1afef6a47c4133831fefcad4e0d7bf1d0ee99e
ftrace: Rename ftrace_ops field from trampolines to nr_trampolines

Having two fields within the same struct that is off by one character
can be confusing and error prone. Rename the counter "trampolines"
to "nr_trampolines" to explicitly show it is a counter and not to
be confused by the "trampoline" field.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c