lkml.org 
[lkml]   [2010]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] perf, x86: catch spurious interrupts after disabling counters
From
When you do perf record foo, it's equivalent to
perf record -e cycles:uk -F 1000 foo

I think there is a problem with perf record in case you provide
multiple events. It is going to sample on all of them at the same
frequency. You may not always want that, but I don't think there
is a way to change that.


On Wed, Sep 15, 2010 at 9:34 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> On Wed, Sep 15, 2010 at 08:44:24PM +0200, Robert Richter wrote:
> ...
>>
>> Do you know at which period the counters running for the following?
>>
>>  perf record ./hackbench 10
>>  perf record -e cycles -e instructions -e cache-references \
>>      -e cache-misses -e branch-misses -a -- <cmd>
>>
>> I couldn't find something about this in the man page.
>>
>
> It's on top of tools/perf/builtin-record.c so by default they
> should be sampled with frequency 1KHz. Frederic or Peter knows
> for sure ;)
>
>        -- Cyrill
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-09-15 22:23    [W:0.333 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site