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>
This commit is contained in:
Steven Rostedt (Red Hat) 2014-07-23 15:03:00 -04:00 committed by Steven Rostedt
parent ba1afef6a4
commit 0162d621dd
2 changed files with 6 additions and 6 deletions

View file

@ -120,7 +120,7 @@ struct ftrace_ops {
void *private;
int __percpu *disabled;
#ifdef CONFIG_DYNAMIC_FTRACE
int trampolines;
int nr_trampolines;
struct ftrace_hash *notrace_hash;
struct ftrace_hash *filter_hash;
struct ftrace_hash *tramp_hash;