From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932556Ab3BSKdr (ORCPT ); Tue, 19 Feb 2013 05:33:47 -0500 Received: from mail-bk0-f42.google.com ([209.85.214.42]:42095 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932411Ab3BSKdo (ORCPT ); Tue, 19 Feb 2013 05:33:44 -0500 MIME-Version: 1.0 In-Reply-To: <1361217204.23152.171.camel@gandalf.local.home> References: <20130122073210.13822.50434.stgit@srivatsabhat.in.ibm.com> <510FBC01.2030405@linux.vnet.ibm.com> <87haloiwv0.fsf@rustcorp.com.au> <51134596.4080106@linux.vnet.ibm.com> <20130208154113.GV17833@n2100.arm.linux.org.uk> <51152B81.2050501@linux.vnet.ibm.com> <51153F72.1060005@linux.vnet.ibm.com> <5118E2CD.90401@linux.vnet.ibm.com> <20130211190852.GA5695@linux.vnet.ibm.com> <5119BDFD.1000909@linux.vnet.ibm.com> <511E8F3C.2010406@linux.vnet.ibm.com> <512203B3.7090002@linux.vnet.ibm.com> <512207A6.4000402@linux.vnet.ibm.com> <1361201422.23152.154.camel@gandalf.local.home> <1361217204.23152.171.camel@gandalf.local.home> Date: Tue, 19 Feb 2013 11:33:42 +0100 Message-ID: Subject: Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug From: Vincent Guittot To: Steven Rostedt Cc: "Srivatsa S. Bhat" , paulmck@linux.vnet.ibm.com, Russell King - ARM Linux , linux-doc@vger.kernel.org, peterz@infradead.org, fweisbec@gmail.com, linux-kernel@vger.kernel.org, walken@google.com, mingo@kernel.org, linux-arch@vger.kernel.org, xiaoguangrong@linux.vnet.ibm.com, wangyun@linux.vnet.ibm.com, nikunj@linux.vnet.ibm.com, linux-pm@vger.kernel.org, Rusty Russell , rjw@sisk.pl, namhyung@kernel.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, oleg@redhat.com, sbw@mit.edu, tj@kernel.org, akpm@linux-foundation.org, linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18 February 2013 20:53, Steven Rostedt wrote: > On Mon, 2013-02-18 at 17:50 +0100, Vincent Guittot wrote: > >> yes for sure. >> The problem is more linked to cpuidle and function tracer. >> >> cpu hotplug and function tracer work when cpuidle is disable. >> cpu hotplug and cpuidle works if i don't enable function tracer. >> my platform is dead as soon as I enable function tracer if cpuidle is >> enabled. It looks like some notrace are missing in my platform driver >> but we haven't completely fix the issue yet >> > > You can bisect to find out exactly what function is the problem: > > cat /debug/tracing/available_filter_functions > t > > f(t) { > num=`wc -l t` > sed -ne "1,${num}p" t > t1 > let num=num+1 > sed -ne "${num},$p" t > t2 > > cat t1 > /debug/tracing/set_ftrace_filter > # note this may take a long time to finish > > echo function > /debug/tracing/current_tracer > > > } > Thanks, i'm going to have a look Vincent > -- Steve > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bk0-f45.google.com (mail-bk0-f45.google.com [209.85.214.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 6E2162C0293 for ; Tue, 19 Feb 2013 21:33:47 +1100 (EST) Received: by mail-bk0-f45.google.com with SMTP id i18so2965565bkv.32 for ; Tue, 19 Feb 2013 02:33:43 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1361217204.23152.171.camel@gandalf.local.home> References: <20130122073210.13822.50434.stgit@srivatsabhat.in.ibm.com> <510FBC01.2030405@linux.vnet.ibm.com> <87haloiwv0.fsf@rustcorp.com.au> <51134596.4080106@linux.vnet.ibm.com> <20130208154113.GV17833@n2100.arm.linux.org.uk> <51152B81.2050501@linux.vnet.ibm.com> <51153F72.1060005@linux.vnet.ibm.com> <5118E2CD.90401@linux.vnet.ibm.com> <20130211190852.GA5695@linux.vnet.ibm.com> <5119BDFD.1000909@linux.vnet.ibm.com> <511E8F3C.2010406@linux.vnet.ibm.com> <512203B3.7090002@linux.vnet.ibm.com> <512207A6.4000402@linux.vnet.ibm.com> <1361201422.23152.154.camel@gandalf.local.home> <1361217204.23152.171.camel@gandalf.local.home> Date: Tue, 19 Feb 2013 11:33:42 +0100 Message-ID: Subject: Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug From: Vincent Guittot To: Steven Rostedt Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-doc@vger.kernel.org, peterz@infradead.org, fweisbec@gmail.com, linux-kernel@vger.kernel.org, walken@google.com, mingo@kernel.org, linux-arch@vger.kernel.org, Russell King - ARM Linux , xiaoguangrong@linux.vnet.ibm.com, wangyun@linux.vnet.ibm.com, paulmck@linux.vnet.ibm.com, nikunj@linux.vnet.ibm.com, linux-pm@vger.kernel.org, Rusty Russell , rjw@sisk.pl, namhyung@kernel.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, oleg@redhat.com, sbw@mit.edu, "Srivatsa S. Bhat" , tj@kernel.org, akpm@linux-foundation.org, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 18 February 2013 20:53, Steven Rostedt wrote: > On Mon, 2013-02-18 at 17:50 +0100, Vincent Guittot wrote: > >> yes for sure. >> The problem is more linked to cpuidle and function tracer. >> >> cpu hotplug and function tracer work when cpuidle is disable. >> cpu hotplug and cpuidle works if i don't enable function tracer. >> my platform is dead as soon as I enable function tracer if cpuidle is >> enabled. It looks like some notrace are missing in my platform driver >> but we haven't completely fix the issue yet >> > > You can bisect to find out exactly what function is the problem: > > cat /debug/tracing/available_filter_functions > t > > f(t) { > num=`wc -l t` > sed -ne "1,${num}p" t > t1 > let num=num+1 > sed -ne "${num},$p" t > t2 > > cat t1 > /debug/tracing/set_ftrace_filter > # note this may take a long time to finish > > echo function > /debug/tracing/current_tracer > > > } > Thanks, i'm going to have a look Vincent > -- Steve > > > From mboxrd@z Thu Jan 1 00:00:00 1970 From: vincent.guittot@linaro.org (Vincent Guittot) Date: Tue, 19 Feb 2013 11:33:42 +0100 Subject: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug In-Reply-To: <1361217204.23152.171.camel@gandalf.local.home> References: <20130122073210.13822.50434.stgit@srivatsabhat.in.ibm.com> <510FBC01.2030405@linux.vnet.ibm.com> <87haloiwv0.fsf@rustcorp.com.au> <51134596.4080106@linux.vnet.ibm.com> <20130208154113.GV17833@n2100.arm.linux.org.uk> <51152B81.2050501@linux.vnet.ibm.com> <51153F72.1060005@linux.vnet.ibm.com> <5118E2CD.90401@linux.vnet.ibm.com> <20130211190852.GA5695@linux.vnet.ibm.com> <5119BDFD.1000909@linux.vnet.ibm.com> <511E8F3C.2010406@linux.vnet.ibm.com> <512203B3.7090002@linux.vnet.ibm.com> <512207A6.4000402@linux.vnet.ibm.com> <1361201422.23152.154.camel@gandalf.local.home> <1361217204.23152.171.camel@gandalf.local.home> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 18 February 2013 20:53, Steven Rostedt wrote: > On Mon, 2013-02-18 at 17:50 +0100, Vincent Guittot wrote: > >> yes for sure. >> The problem is more linked to cpuidle and function tracer. >> >> cpu hotplug and function tracer work when cpuidle is disable. >> cpu hotplug and cpuidle works if i don't enable function tracer. >> my platform is dead as soon as I enable function tracer if cpuidle is >> enabled. It looks like some notrace are missing in my platform driver >> but we haven't completely fix the issue yet >> > > You can bisect to find out exactly what function is the problem: > > cat /debug/tracing/available_filter_functions > t > > f(t) { > num=`wc -l t` > sed -ne "1,${num}p" t > t1 > let num=num+1 > sed -ne "${num},$p" t > t2 > > cat t1 > /debug/tracing/set_ftrace_filter > # note this may take a long time to finish > > echo function > /debug/tracing/current_tracer > > > } > Thanks, i'm going to have a look Vincent > -- Steve > > >