[lkml]   [2007]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Documentation: fix getdelays.c example -l option and segv

    >> Is this really required? a sleep() in the code. Why do we do multiple
    >> send_cmd()'s in the do loop? I'll test and get back.
    > I needed to send another command to receive more data. Without the per
    > loop send_cmd, I never got any more stats.
    > Should we receive more data without the additional send_cmd? I've been
    > running with:
    > ./getdelays -d -p 1 -l

    Interesting, we never used -l that way. We used -l to get data for all
    exiting tasks

    ./getdelays -d -l

    For the usage you've mentioned, I'd use

    while :
    sleep 2
    ./getdelays -p 1 -d

    I guess your changes change getdelays and since there are other ways
    to obtaining the same data, I'd remove the last bit of changes made
    to send the TGID often to get data.

    > Mikey

    Warm Regards,
    Balbir Singh
    Linux Technology Center
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-08-15 13:23    [W:0.041 / U:14.008 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site