Re: [PATCH v3] tracing: Ignore mmiotrace from kernel commandline

2017-09-18 Thread Ziqian SUN (Zamir)
On 09/12/2017 08:18 PM, Ziqian SUN (Zamir) wrote: On 09/11/2017 07:23 PM, Steven Rostedt wrote: On Mon, 11 Sep 2017 14:31:34 +0800 "Ziqian SUN (Zamir)" wrote: On 09/11/2017 02:26 PM, Ziqian SUN (Zamir) wrote: From: "Ziqian SUN (Zamir)" The mmiotrace tracer ca

Re: [PATCH v3] tracing: Ignore mmiotrace from kernel commandline

2017-09-12 Thread Ziqian SUN (Zamir)
On 09/11/2017 07:23 PM, Steven Rostedt wrote: On Mon, 11 Sep 2017 14:31:34 +0800 "Ziqian SUN (Zamir)" wrote: On 09/11/2017 02:26 PM, Ziqian SUN (Zamir) wrote: From: "Ziqian SUN (Zamir)" The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel commandl

Re: [PATCH v3] tracing: Ignore mmiotrace from kernel commandline

2017-09-10 Thread Ziqian SUN (Zamir)
On 09/11/2017 02:26 PM, Ziqian SUN (Zamir) wrote: From: "Ziqian SUN (Zamir)" The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel commandline. With this patch, noboot is added to the tracer struct, and when system boot with a tracer that has noboot=true, it will p

[PATCH v3] tracing: Ignore mmiotrace from kernel commandline

2017-09-10 Thread Ziqian SUN (Zamir)
From: "Ziqian SUN (Zamir)" The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel commandline. With this patch, noboot is added to the tracer struct, and when system boot with a tracer that has noboot=true, it will print out a warning message and continue booting. Sig

Re: [PATCH v2] tracing: Ignore mmiotrace from kernel commandline

2017-09-08 Thread Ziqian SUN (Zamir)
> On Wed, 30 Aug 2017 12:19:30 +0800 > "Ziqian SUN (Zamir)" wrote: > > > From: "Ziqian SUN (Zamir)" > > > > The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in > > kernel commandline. With this patch, a trace_noboot_tracer_list

Re: [PATCH v2] tracing: Ignore mmiotrace from kernel commandline

2017-09-08 Thread Ziqian SUN (Zamir)
Hi Steve, Is this solution acceptable? Any suggestions? Thanks. - Original Message - > From: "Ziqian SUN (Zamir)" > > The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in > kernel commandline. With this patch, a trace_noboot_tracer_list > is implem

[PATCH v2] tracing: Ignore mmiotrace from kernel commandline

2017-08-29 Thread Ziqian SUN (Zamir)
From: "Ziqian SUN (Zamir)" The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel commandline. With this patch, a trace_noboot_tracer_list is implemented and will be checked during system boot. If the tracer declares itself as not for boot up, system will print out a m

Re: [PATCH] tracing: Ignore mmiotrace from kernel commandline

2017-08-29 Thread Ziqian SUN (Zamir)
On 08/30/2017 11:25 AM, Ziqian SUN (Zamir) wrote: From: "Ziqian SUN (Zamir)" The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel commandline. With this patch, a trace_noboot_tracer_list is implemented and will be checked during system boot. If the tracer declares

[PATCH] tracing: Ignore mmiotrace from kernel commandline

2017-08-29 Thread Ziqian SUN (Zamir)
From: "Ziqian SUN (Zamir)" The mmiotrace tracer cannot be enabled with ftrace=mmiotrace in kernel commandline. With this patch, a trace_noboot_tracer_list is implemented and will be checked during system boot. If the tracer declares itself as not for boot up, system will print out a m

[PATCH] trace-cmd report: Fix hash.key in option -w

2017-08-24 Thread Ziqian SUN (Zamir)
From: "Ziqian SUN (Zamir)" In add_wakeup function the hash list is created with hash.key = value. This makes add_sched function will never find a match with the key which results in trace-cmd report will never show the average latency with the following command: trace-cmd re