Re: [PATCH] tracing: fix incorrect enabling of trace events by boot cmdline

2015-04-16 Thread Joonsoo Kim
On Thu, Apr 16, 2015 at 09:39:52AM -0400, Steven Rostedt wrote: > On Thu, 16 Apr 2015 13:44:44 +0900 > Joonsoo Kim wrote: > > > There is a problem that trace events are not properly enabled with > > boot cmdline. Problem is that if we pass "trace_event=kmem:mm_page_alloc" > > to boot cmdline, it

[for-next][PATCH] tracing: Fix incorrect enabling of trace events by boot cmdline

2015-04-16 Thread Steven Rostedt
Another small fix that I'll push in this merge window. git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 84fce9db4d7eaebd6cb2ee30c15da6d4e4daf846 Joonsoo Kim (1): tracing: Fix incorrect enabling of trace events by boot cmdline kernel/trace/

Re: [PATCH] tracing: fix incorrect enabling of trace events by boot cmdline

2015-04-16 Thread Steven Rostedt
On Thu, 16 Apr 2015 13:44:44 +0900 Joonsoo Kim wrote: > There is a problem that trace events are not properly enabled with > boot cmdline. Problem is that if we pass "trace_event=kmem:mm_page_alloc" > to boot cmdline, it enables all kmem trace events. > > It is caused by parsing mechanism. When

[PATCH] tracing: fix incorrect enabling of trace events by boot cmdline

2015-04-15 Thread Joonsoo Kim
There is a problem that trace events are not properly enabled with boot cmdline. Problem is that if we pass "trace_event=kmem:mm_page_alloc" to boot cmdline, it enables all kmem trace events. It is caused by parsing mechanism. When we parse cmdline, buffer contents is modified due to tokenization.