[lkml]   [2009]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/3] perf tools: remove pid option from stat

    * Peter Zijlstra <> wrote:

    > On Tue, 2009-12-29 at 16:37 +0800, Liming Wang wrote:
    > > pid option is useless for stat, so remove it.
    > Hmm, it shouldn't be.. and instead of removing it I would suggesting fixing
    > this.

    Yes. For exampe something like:

    perf stat --repeat 10 --pid $(pidof firefox) sleep 1

    Should show firefox's resource usage sampled over 10 seconds.

    If this doesnt work it should be fixed. Plus i suspect we should allow:

    perf stat --pid $(pidof firefox)

    to run until Ctrl-C - like perf record allows.


     \ /
      Last update: 2009-12-30 10:27    [W:0.028 / U:15.296 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site