[lkml]   [2010]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -v2] perf, x86: try to handle unknown nmis with running perfctrs
On 12.08.10 14:21:26, Don Zickus wrote:

> > I was testing the patch further, it properly filters perfctr
> > back-to-back nmis. I was able to reliable detect unknown nmis
> > triggered by the nmi button during high load perf sessions with
> > multiple counters, no false positives.
> For my own curiousity, what type of high load perf sessions are you using
> to test this. I don't know perf well enough to have it generate events
> across multiple perfctrs.

You put load on all cpus and then start something like the following:

perf record -e cycles -e instructions -e cache-references \
-e cache-misses -e branch-misses -a -- sleep 10


Advanced Micro Devices, Inc.
Operating System Research Center

 \ /
  Last update: 2010-08-16 09:39    [W:0.085 / U:2.516 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site