From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: Re: Testing tracer wakeup_rt: .. no entries found ..FAILED! Date: Tue, 31 Jul 2012 08:43:47 -0400 Message-ID: <1343738627.27983.30.camel@gandalf.stny.rr.com> References: <20120724090330.GA9830@localhost> <20120724090720.GA10434@localhost> <1343663105.3847.7.camel@fedora> <20120731121759.GA17822@localhost> <5017D19B.5080806@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit Cc: Fengguang Wu , Steven Rostedt , "Paul E. McKenney" , LKML , "kvm@vger.kernel.org" To: Avi Kivity Return-path: In-Reply-To: <5017D19B.5080806@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, 2012-07-31 at 15:37 +0300, Avi Kivity wrote: > On 07/31/2012 03:17 PM, Fengguang Wu wrote: > > > > It's good to quickly get to the root cause :) Can we possibly detect > > whether we are in a virtual machine and hence skip this particular > > test case? > > cpu_has(&boot_cpu, X86_FEATURE_HYPERVISOR) > Yeah, but then it is still broken on non-x86 code (the test lives in core kernel). As it is just testing the events for wakeup, I could probably just add a completion and force the other thread to just wait for it. I'll write up a patch. But it wont make it in till 3.7. -- Steve