ftrace.c (af64a7cb09db77344c596a0bf3d57d77257e8bf5) ftrace.c (3a36cb11ca65cd6804972eaf1000378ba4384ea7)
1/*
2 * Code for replacing ftrace calls with jumps.
3 *
4 * Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com>
5 *
6 * Thanks goes to Ingo Molnar, for suggesting the idea.
7 * Mathieu Desnoyers, for suggesting postponing the modifications.
8 * Arjan van de Ven, for keeping me straight, and explaining to me

--- 654 unchanged lines hidden (view full) ---

663 /* See comment above by declaration of modifying_ftrace_code */
664 atomic_inc(&modifying_ftrace_code);
665
666 ftrace_modify_all_code(command);
667
668 atomic_dec(&modifying_ftrace_code);
669}
670
1/*
2 * Code for replacing ftrace calls with jumps.
3 *
4 * Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com>
5 *
6 * Thanks goes to Ingo Molnar, for suggesting the idea.
7 * Mathieu Desnoyers, for suggesting postponing the modifications.
8 * Arjan van de Ven, for keeping me straight, and explaining to me

--- 654 unchanged lines hidden (view full) ---

663 /* See comment above by declaration of modifying_ftrace_code */
664 atomic_inc(&modifying_ftrace_code);
665
666 ftrace_modify_all_code(command);
667
668 atomic_dec(&modifying_ftrace_code);
669}
670
671int __init ftrace_dyn_arch_init(void *data)
671int __init ftrace_dyn_arch_init(void)
672{
673 return 0;
674}
675#endif
676
677#ifdef CONFIG_FUNCTION_GRAPH_TRACER
678
679#ifdef CONFIG_DYNAMIC_FTRACE

--- 103 unchanged lines hidden ---
672{
673 return 0;
674}
675#endif
676
677#ifdef CONFIG_FUNCTION_GRAPH_TRACER
678
679#ifdef CONFIG_DYNAMIC_FTRACE

--- 103 unchanged lines hidden ---