lkml.org 
[lkml]   [2014]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] perf top: --stdio causes continuous refresh
Em Thu, Feb 06, 2014 at 05:21:31PM -0200, Arnaldo Carvalho de Melo escreveu:
> Em Thu, Feb 06, 2014 at 10:48:19AM -0700, David Ahern escreveu:
> > On 2/6/14, 8:24 AM, Stephane Eranian wrote:
> > >On Thu, Feb 6, 2014 at 3:09 PM, Arnaldo Carvalho de Melo
> > >>>>I am using tip.git. Or try 3.11, 3.10.

> > >>But my tests are on top of:

> > >>[acme@ssdandy linux]$ uname -r
> > >>3.11.4-101.fc18.x86_64

> > >>I thought it was a 3.14ish one, building one to try there...

> > >The kernel must be 3.14-rcX, the tool can be any version.

> > I don't have time to do a git bisect, but I can narrow the window to
> > 3.13-rc6 and 3.14-rc1. Just happened to update a server yesterday.
> > perf-top --stdio runs fine on the former and shows the problem on
> > the latter.
>
> Humm,
>
> /*
> * Either timeout expired or we got an EINTR due to
> * SIGWINCH, refresh screen in both cases.
> */
> switch (poll(&stdin_poll, 1, delay_msecs)) {

> And poll is returning 1:

> 951.068 ( 0.002 ms): poll(ufds: 0x7ff660befbb0, nfds: 1, timeout_msecs: 2000) = 1

We go to the getc(stdin) and it returns EOF :-\

- Arnaldo


\
 
 \ /
  Last update: 2014-02-06 21:01    [W:0.150 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site