lkml.org 
[lkml]   [2010]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] perf/trace: use read() instead of lseek() in trace_event_read.c:skip()
    On Fri, May 14, 2010 at 06:12:55PM +0200, Borislav Petkov wrote:
    > From: Tom Zanussi <tzanussi@gmail.com>
    > Date: Tue, May 04, 2010 at 11:02:10PM -0500
    >
    > Hi,
    >
    > > Here's a small fix for a problem affecting live-mode, introduced in the
    > > past day or so:
    > >
    > > root@tropicana:~# perf trace rwtop
    > > perf trace started with Perl
    > > script /root/libexec/perf-core/scripts/perl/rwtop.pl
    > >
    > > Fatal: did not read header event
    > >
    > > commit d00a47cce569a3e660a8c9de5d57af28d6a9f0f7 added a skip()
    > > function to skip over e.g. header_page, but this doesn't work for live
    > > mode. This patch re-implements skip() to use read() instead of
    > > lseek() to fix that.
    > >
    > > Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
    >
    > has this one landed in any tree in the meantime?
    >
    > tip/perf/core doesn't have it.


    I forgot to queue it, my bad.

    Queued, thanks.



    \
     
     \ /
      Last update: 2010-05-14 18:25    [W:0.020 / U:0.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site