[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/1] Fix number of events displayed in header
    On Tue, 2012-03-20 at 14:51 -0500, Ashay Rane wrote:
    > The problem I am seeing is that the `perf record' output does not
    > comform with the output of `perf stat'. For example, for `hackbench 10
    > process 1000', I see 19 x 10^9 cycles reported by `perf stat'.
    > However, `perf report -n' prints "Events: 2K cycles" and `perf report
    > -n --dso hackbench' prints "Events: 47 cycles".

    Ah, read it as if perf report is saying: Samples: 47 of event: cycles.

    That is, its telling you the cycles event had 47 overflows causing 47
    samples to be taken (IP, etc..) and written out.

    The point of reporting this number is that it puts the accuracy of the
    percentages into perspective. The more samples, the greater the coverage
    and more accurate the actual percentage of time spend in the various

     \ /
      Last update: 2012-03-20 21:03    [W:0.019 / U:4.484 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site