Re: [Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-10 Thread Steven Rostedt
On Mon, 10 Feb 2014 22:59:24 +0530 yogesh tillu wrote: > Hi Steve, > Thanks for the reply. > Can we follow the approach of using api ftrace_set_notrace_ip (like > ftrace_set_filter_ip ), and register ip for the notrace hash list from > kgdb x86 arch code at the time of adding/removing

Re: [Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-10 Thread yogesh tillu
Hi Steve, Thanks for the reply. Can we follow the approach of using api ftrace_set_notrace_ip (like ftrace_set_filter_ip ), and register ip for the notrace hash list from kgdb x86 arch code at the time of adding/removing breakpoint. On Fri, Feb 7, 2014 at 8:04 PM, Steven Rostedt wrote: >

Re: [Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-10 Thread yogesh tillu
Hi Steve, Thanks for the reply. Can we follow the approach of using api ftrace_set_notrace_ip (like ftrace_set_filter_ip ), and register ip for the notrace hash list from kgdb x86 arch code at the time of adding/removing breakpoint. On Fri, Feb 7, 2014 at 8:04 PM, Steven Rostedt

Re: [Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-10 Thread Steven Rostedt
On Mon, 10 Feb 2014 22:59:24 +0530 yogesh tillu tillu.yog...@gmail.com wrote: Hi Steve, Thanks for the reply. Can we follow the approach of using api ftrace_set_notrace_ip (like ftrace_set_filter_ip ), and register ip for the notrace hash list from kgdb x86 arch code at the time of

Re: [Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-07 Thread Steven Rostedt
On Fri, 7 Feb 2014 19:38:35 +0530 yogesh tillu wrote: > Issue: [On x86 64 bit setup] If we enable CONFIG_FTRACE_STARTUP_TEST, > and set software breakpoint(from kgdboc) result into below mentioned > oops and non working of kgdb software breakpoint. Patient: Doctor, it hurts me when I do this.

[Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-07 Thread yogesh tillu
Issue: [On x86 64 bit setup] If we enable CONFIG_FTRACE_STARTUP_TEST, and set software breakpoint(from kgdboc) result into below mentioned oops and non working of kgdb software breakpoint. [ 347.686031] [ cut here ] [ 348.728729] WARNING: at kernel/trace/ftrace.c:1688

[Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-07 Thread yogesh tillu
Issue: [On x86 64 bit setup] If we enable CONFIG_FTRACE_STARTUP_TEST, and set software breakpoint(from kgdboc) result into below mentioned oops and non working of kgdb software breakpoint. [ 347.686031] [ cut here ] [ 348.728729] WARNING: at kernel/trace/ftrace.c:1688

Re: [Ftrace][Bug] Failed on adding breakpoints, when used with kgdboc

2014-02-07 Thread Steven Rostedt
On Fri, 7 Feb 2014 19:38:35 +0530 yogesh tillu tillu.yog...@gmail.com wrote: Issue: [On x86 64 bit setup] If we enable CONFIG_FTRACE_STARTUP_TEST, and set software breakpoint(from kgdboc) result into below mentioned oops and non working of kgdb software breakpoint. Patient: Doctor, it hurts