Re: [PATCH -v2] perf, x86: try to handle unknown nmis with running perfctrs

Robert Richter
2010-08-16T07:37:13Z

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

-Robert

--
Advanced Micro Devices, Inc.
Operating System Research Center