diff options
Diffstat (limited to 'kernel/trace')
| -rw-r--r-- | kernel/trace/Kconfig | 9 | ||||
| -rw-r--r-- | kernel/trace/ftrace.c | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 34e707e5ab87..504086ab4443 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
| @@ -72,11 +72,10 @@ config FUNCTION_GRAPH_TRACER | |||
| 72 | help | 72 | help |
| 73 | Enable the kernel to trace a function at both its return | 73 | Enable the kernel to trace a function at both its return |
| 74 | and its entry. | 74 | and its entry. |
| 75 | It's first purpose is to trace the duration of functions and | 75 | Its first purpose is to trace the duration of functions and |
| 76 | draw a call graph for each thread with some informations like | 76 | draw a call graph for each thread with some information like |
| 77 | the return value. | 77 | the return value. This is done by setting the current return |
| 78 | This is done by setting the current return address on the current | 78 | address on the current task structure into a stack of calls. |
| 79 | task structure into a stack of calls. | ||
| 80 | 79 | ||
| 81 | config IRQSOFF_TRACER | 80 | config IRQSOFF_TRACER |
| 82 | bool "Interrupts-off Latency Tracer" | 81 | bool "Interrupts-off Latency Tracer" |
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index fdf913dfc7e8..53e8c8bc0c98 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
| @@ -1908,7 +1908,7 @@ int register_ftrace_function(struct ftrace_ops *ops) | |||
| 1908 | } | 1908 | } |
| 1909 | 1909 | ||
| 1910 | /** | 1910 | /** |
| 1911 | * unregister_ftrace_function - unresgister a function for profiling. | 1911 | * unregister_ftrace_function - unregister a function for profiling. |
| 1912 | * @ops - ops structure that holds the function to unregister | 1912 | * @ops - ops structure that holds the function to unregister |
| 1913 | * | 1913 | * |
| 1914 | * Unregister a function that was added to be called by ftrace profiling. | 1914 | * Unregister a function that was added to be called by ftrace profiling. |
