lkml.org 
[lkml]   [2010]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: delayacct: alignment changes break iotop
    * Dan Carpenter <error27@gmail.com> [2010-12-13 14:37:45]:

    > Iotop uses hardcoded offsets to find the taskstats struct members.
    > This got changed in 2.6.37 so it now iotop doesn't work on amd64. The
    > offending commit is:
    >
    > commit 85893120699f8bae8caa12a8ee18ab5fceac978e
    > Author: Jeff Mahoney <jeffm@suse.com>
    > Date: Wed Oct 27 15:34:43 2010 -0700
    >
    > delayacct: align to 8 byte boundary on 64-bit systems
    >
    > Brian Rogers gets the reported-by tag. The bugzilla entry is:
    > https://bugzilla.kernel.org/show_bug.cgi?id=24272
    >

    Thanks for the report, looks like the change did not even bump the
    version field. Sorry, its my fault, I should have caught it earlier.
    iotop hard coding member offsets is not bad as long as we don't break
    ABI (expected from us). Any chance you could dump the offsets before
    and after the change?

    --
    Three Cheers,
    Balbir


    \
     
     \ /
      Last update: 2010-12-13 13:59    [W:0.021 / U:64.240 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site