Re: [PATCH -tip v8 07/26] [BUGFIX] x86: Prohibit probing on thunk functions and restore

2014-03-24 Thread Steven Rostedt
On Wed, 05 Mar 2014 20:59:32 +0900 Masami Hiramatsu wrote: > thunk/restore functions are also used for tracing irqoff etc. > and those are involved in kprobe's exception handling. > Prohibit probing on them to avoid kernel crash. > > Signed-off-by: Masami Hiramatsu > Cc: Thomas Gleixner > Cc:

Re: [PATCH -tip v8 07/26] [BUGFIX] x86: Prohibit probing on thunk functions and restore

2014-03-24 Thread Steven Rostedt
On Wed, 05 Mar 2014 20:59:32 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: thunk/restore functions are also used for tracing irqoff etc. and those are involved in kprobe's exception handling. Prohibit probing on them to avoid kernel crash. Signed-off-by: Masami Hiramatsu

Re: [PATCH -tip v8 07/26] [BUGFIX] x86: Prohibit probing on thunk functions and restore

2014-03-23 Thread Masami Hiramatsu
(2014/03/22 10:00), Steven Rostedt wrote: > On Wed, 05 Mar 2014 20:59:32 +0900 > Masami Hiramatsu wrote: > >> thunk_ra trace_hardirqs_on_thunk,trace_hardirqs_on_caller >> diff --git a/arch/x86/lib/thunk_64.S b/arch/x86/lib/thunk_64.S >> index a63efd6..92d9fea 100644 >> ---

Re: [PATCH -tip v8 07/26] [BUGFIX] x86: Prohibit probing on thunk functions and restore

2014-03-23 Thread Masami Hiramatsu
(2014/03/22 10:00), Steven Rostedt wrote: On Wed, 05 Mar 2014 20:59:32 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: thunk_ra trace_hardirqs_on_thunk,trace_hardirqs_on_caller diff --git a/arch/x86/lib/thunk_64.S b/arch/x86/lib/thunk_64.S index a63efd6..92d9fea 100644

Re: [PATCH -tip v8 07/26] [BUGFIX] x86: Prohibit probing on thunk functions and restore

2014-03-21 Thread Steven Rostedt
On Wed, 05 Mar 2014 20:59:32 +0900 Masami Hiramatsu wrote: > thunk_ra trace_hardirqs_on_thunk,trace_hardirqs_on_caller > diff --git a/arch/x86/lib/thunk_64.S b/arch/x86/lib/thunk_64.S > index a63efd6..92d9fea 100644 > --- a/arch/x86/lib/thunk_64.S > +++ b/arch/x86/lib/thunk_64.S > @@ -8,6

Re: [PATCH -tip v8 07/26] [BUGFIX] x86: Prohibit probing on thunk functions and restore

2014-03-21 Thread Steven Rostedt
On Wed, 05 Mar 2014 20:59:32 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: thunk_ra trace_hardirqs_on_thunk,trace_hardirqs_on_caller diff --git a/arch/x86/lib/thunk_64.S b/arch/x86/lib/thunk_64.S index a63efd6..92d9fea 100644 --- a/arch/x86/lib/thunk_64.S +++

[PATCH -tip v8 07/26] [BUGFIX] x86: Prohibit probing on thunk functions and restore

2014-03-05 Thread Masami Hiramatsu
thunk/restore functions are also used for tracing irqoff etc. and those are involved in kprobe's exception handling. Prohibit probing on them to avoid kernel crash. Signed-off-by: Masami Hiramatsu Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" --- arch/x86/lib/thunk_32.S |3 ++-

[PATCH -tip v8 07/26] [BUGFIX] x86: Prohibit probing on thunk functions and restore

2014-03-05 Thread Masami Hiramatsu
thunk/restore functions are also used for tracing irqoff etc. and those are involved in kprobe's exception handling. Prohibit probing on them to avoid kernel crash. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar