From: balbi@ti.com (Felipe Balbi)
To: linux-arm-kernel@lists.infradead.org
Subject: Function Profiler broken on today's linux-next
Date: Wed, 16 Jul 2014 13:57:32 -0500 [thread overview]
Message-ID: <20140716185732.GN3016@saruman.home> (raw)
In-Reply-To: <20140716145442.15f25ec3@gandalf.local.home>
On Wed, Jul 16, 2014 at 02:54:42PM -0400, Steven Rostedt wrote:
> On Wed, 16 Jul 2014 13:41:52 -0500
> Felipe Balbi <balbi@ti.com> 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 <balbi@ti.com> 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 <balbi@ti.com>
> >
> > 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?
It used to work at least on v3.12... It seems like it's not always
either. After I rebooted, then it took a little effort to trigger it
again. But if I just run my test in a loop, eventually it'll start
miscalculating.
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140716/f2f7c8b2/attachment.sig>
prev parent reply other threads:[~2014-07-16 18:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-16 16:23 Function Profiler broken on today's linux-next Felipe Balbi
2014-07-16 16:29 ` Steven Rostedt
2014-07-16 16:41 ` Felipe Balbi
2014-07-16 16:45 ` Felipe Balbi
2014-07-16 17:24 ` Steven Rostedt
2014-07-16 18:29 ` Felipe Balbi
2014-07-16 18:41 ` Felipe Balbi
2014-07-16 18:54 ` Steven Rostedt
2014-07-16 18:57 ` Felipe Balbi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140716185732.GN3016@saruman.home \
--to=balbi@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).