[PATCH v3 6/8] x86: modify ftrace function using the new int3-based framework

2013-11-14 Thread Petr Mladek
The commit fd4363fff3d9 (x86: Introduce int3 (breakpoint)-based instruction patching) uses the same technique that has been used in ftrace since 08d636b ("ftrace/x86: Have arch x86_64 use breakpoints instead of stop machine") It would be great to use the new generic implementation and clean up

[PATCH v3 6/8] x86: modify ftrace function using the new int3-based framework

2013-11-14 Thread Petr Mladek
The commit fd4363fff3d9 (x86: Introduce int3 (breakpoint)-based instruction patching) uses the same technique that has been used in ftrace since 08d636b (ftrace/x86: Have arch x86_64 use breakpoints instead of stop machine) It would be great to use the new generic implementation and clean up the