RFR: 7903740: JMH: Perf event validation not working with skid options [v2]

Galder Zamarreño galder at openjdk.org
Fri Aug 16 08:44:59 UTC 2024


On Wed, 14 Aug 2024 08:51:13 GMT, Galder Zamarreño <galder at openjdk.org> wrote:

>> Fixes https://bugs.openjdk.org/browse/CODETOOLS-7903740
>
> Galder Zamarreño has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - --log-fd not valid for perf record
>  - Switch to testing with perf record

I'm playing around with this idea to see if it works:
1. Keep the `perf stat` check that is in place today.
2. If the output says `not supported`, then try to do a `perf record` and if that doesn't fail, see with `perf report --stdio` if any events are in the `perf.data` file.

-------------

PR Comment: https://git.openjdk.org/jmh/pull/132#issuecomment-2293092638


More information about the jmh-dev mailing list