Messages in this thread | | | Date | Wed, 15 Sep 2010 22:21:10 +0200 | Subject | Re: [PATCH] perf, x86: catch spurious interrupts after disabling counters | From | Stephane Eranian <> |
| |
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/
| |