lkml.org 
[lkml]   [2015]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCHv5 00/22] perf stat: Introduce --per-thread option
    Em Fri, Jun 26, 2015 at 11:29:05AM +0200, Jiri Olsa escreveu:
    > hi,
    > adding the possibility to display stat data per thread.
    >
    > Allowing following commands and output:
    >
    > $ perf stat -e cycles,instructions --per-thread -p 30190,30242
    > ^C
    > Performance counter stats for process id '30190,30242':
    >
    > cat-30190 0 cycles
    > yes-30242 3,842,525,421 cycles
    > cat-30190 0 instructions
    > yes-30242 10,370,817,010 instructions
    >
    > 1.143155657 seconds time elapsed
    >
    >
    > Also works under interval mode:
    >
    > $ perf stat -e cycles,instructions --per-thread -p 30190,30242 -I 1000
    > # time comm-pid counts unit events

    Thanks, applied, tested,

    - Arnaldo


    \
     
     \ /
      Last update: 2015-06-26 17:21    [W:2.203 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site