From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754856AbaGPSyr (ORCPT ); Wed, 16 Jul 2014 14:54:47 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.229]:46890 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754626AbaGPSyq (ORCPT ); Wed, 16 Jul 2014 14:54:46 -0400 Date: Wed, 16 Jul 2014 14:54:42 -0400 From: Steven Rostedt To: Cc: , , Linux ARM Kernel Mailing List , Linux Kernel Mailing List , Linux OMAP Mailing List Subject: Re: Function Profiler broken on today's linux-next Message-ID: <20140716145442.15f25ec3@gandalf.local.home> In-Reply-To: <20140716184152.GM3016@saruman.home> References: <20140716162328.GJ1365@saruman.home> <20140716122921.71b118a9@gandalf.local.home> <20140716164141.GA3016@saruman.home> <20140716132413.1ede8e1d@gandalf.local.home> <20140716182944.GK3016@saruman.home> <20140716184152.GM3016@saruman.home> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 16 Jul 2014 13:41:52 -0500 Felipe Balbi wrote: > Hi, > > On Wed, Jul 16, 2014 at 01:29:44PM -0500, Felipe Balbi wrote: > > On Wed, Jul 16, 2014 at 01:24:13PM -0400, Steven Rostedt wrote: > > > On Wed, 16 Jul 2014 11:41:42 -0500 > > > Felipe Balbi wrote: > > > > > > > > > > .config attached. It's actually an ARM platform, I can help out with > > > > testing anything you need. > > > > > > In that case, can you see if it works under my repo? > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > > > branch: ftrace/core > > > > works fine, thanks. FWIW > > > > Tested-by: Felipe Balbi > > Actually it seems like it's not counting time properly if I run my test > multiple times in a row: > > # /root/testusb -t 1 -c 100000 -s 2048 -a > # head -3 trace_stat/function0 > Function Hit Time Avg s^2 > -------- --- ---- --- --- > thread_interrupt 174876 166120839 us 949.935 us 3048498 us > > # /root/testusb -t 1 -c 100000 -s 2048 -a > # head -3 trace_stat/function0 > Function Hit Time Avg s^2 > -------- --- ---- --- --- > dwc3_thread_interrupt 286796 967267300 us 4190545199 us 3241109 us > > # /root/testusb -t 1 -c 100000 -s 2048 -a > # head -3 trace_stat/function0 > Function Hit Time Avg s^2 > -------- --- ---- --- --- > dwc3_thread_interrupt 401346 642632072 us 1601.192 us 1194316 us > > and so on... > Did it use to work? In other words, is this a regression, or just some another bug? -- Steve