[PATCH v2 5/8] x86: do not trace __probe_kernel_read

2013-11-08 Thread Petr Mladek
probe_kernel_read is used when modifying function calls in ftrace_replace_code, see arch/x86/kernel/ftrace.c. On x86, the code is replaced using int3 guard. All functions are patched in parallel to reduce an expensive synchronization of all CPUs. The result is that all affected functions are

[PATCH v2 5/8] x86: do not trace __probe_kernel_read

2013-11-08 Thread Petr Mladek
probe_kernel_read is used when modifying function calls in ftrace_replace_code, see arch/x86/kernel/ftrace.c. On x86, the code is replaced using int3 guard. All functions are patched in parallel to reduce an expensive synchronization of all CPUs. The result is that all affected functions are