Re: [PATCH 1/2] dynamic_debug: fix boot parameters parse

2015-10-29 Thread Peter Chen
On Wed, Oct 28, 2015 at 10:17:59AM -0400, Jason Baron wrote: > On 10/27/2015 03:40 AM, Peter Chen wrote: > > The parse_args will delete space between boot parameters, so > > if we add dyndbg="file drivers/usb/* +p" at bootargs, the parse_args > > will split it as three parameters, and only "file"

Re: [PATCH 1/2] dynamic_debug: fix boot parameters parse

2015-10-29 Thread Peter Chen
On Wed, Oct 28, 2015 at 10:17:59AM -0400, Jason Baron wrote: > On 10/27/2015 03:40 AM, Peter Chen wrote: > > The parse_args will delete space between boot parameters, so > > if we add dyndbg="file drivers/usb/* +p" at bootargs, the parse_args > > will split it as three parameters, and only "file"

Re: [PATCH 1/2] dynamic_debug: fix boot parameters parse

2015-10-28 Thread Jason Baron
On 10/27/2015 03:40 AM, Peter Chen wrote: > The parse_args will delete space between boot parameters, so > if we add dyndbg="file drivers/usb/* +p" at bootargs, the parse_args > will split it as three parameters, and only "file" is for dyndbg, > then below error will occur at ddebug, it causes all

Re: [PATCH 1/2] dynamic_debug: fix boot parameters parse

2015-10-28 Thread Jason Baron
On 10/27/2015 03:40 AM, Peter Chen wrote: > The parse_args will delete space between boot parameters, so > if we add dyndbg="file drivers/usb/* +p" at bootargs, the parse_args > will split it as three parameters, and only "file" is for dyndbg, > then below error will occur at ddebug, it causes all

[PATCH 1/2] dynamic_debug: fix boot parameters parse

2015-10-27 Thread Peter Chen
The parse_args will delete space between boot parameters, so if we add dyndbg="file drivers/usb/* +p" at bootargs, the parse_args will split it as three parameters, and only "file" is for dyndbg, then below error will occur at ddebug, it causes all non-module ddebug fail during the boot process.

[PATCH 1/2] dynamic_debug: fix boot parameters parse

2015-10-27 Thread Peter Chen
The parse_args will delete space between boot parameters, so if we add dyndbg="file drivers/usb/* +p" at bootargs, the parse_args will split it as three parameters, and only "file" is for dyndbg, then below error will occur at ddebug, it causes all non-module ddebug fail during the boot process.