lkml.org 
[lkml]   [2012]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: perf record: can I specify multiple events and use different sample-after value
    Date
    Namhyung Kim <namhyung.kim@lge.com> wrote:
    >
    > 2012-02-22 10:59 AM, Yuanfang Chen wrote:
    >> Hi all,
    >>
    >
    > Hi,
    >
    >
    >> I'm trying use perf tool from the linux kernel package to measure
    >> several raw PMU events. In the manpage of perf-record there is an "-l"
    >> option (Scale counter values), which is useful for my case because I
    >> want to know the total counter value, not just sample count. However
    >> it seems the -l is not recognized, is this expected? How can I get a
    >> total count?
    >>
    >
    > "perf report --show-total-period" will be your friend.
    >

    Or else, why not simply run "perf stat"?

    Thanks,
    Namhyung


    \
     
     \ /
      Last update: 2012-02-22 12:43    [W:0.020 / U:1.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site