diff options
author | Alex Shi <alex.shi@linux.alibaba.com> | 2020-01-21 06:54:23 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-21 23:30:39 +0100 |
commit | aff4866db56e5cc5601dcd896e056160e07ca361 (patch) | |
tree | b3d98e8b5cc545ec84a7e1c17ade7996be153dbd /kernel/trace | |
parent | ftrace: Remove abandoned macros (diff) | |
download | linux-aff4866db56e5cc5601dcd896e056160e07ca361.tar.xz linux-aff4866db56e5cc5601dcd896e056160e07ca361.zip |
ftrace: Remove NR_TO_INIT macro
This macro isn't used from commit cb7be3b2fc2c ("ftrace: remove
daemon"). So no needs to keep it.
Link: http://lkml.kernel.org/r/1579586063-44984-1-git-send-email-alex.shi@linux.alibaba.com
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/ftrace.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 7fe87c7ab1a8..5c701765da5b 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -1101,9 +1101,6 @@ struct ftrace_page { #define ENTRY_SIZE sizeof(struct dyn_ftrace) #define ENTRIES_PER_PAGE (PAGE_SIZE / ENTRY_SIZE) -/* estimate from running different kernels */ -#define NR_TO_INIT 10000 - static struct ftrace_page *ftrace_pages_start; static struct ftrace_page *ftrace_pages; |