RFR: 7903740: JMH: Perf event validation not working with skid options
Aleksey Shipilev
shade at openjdk.org
Fri Jul 19 13:46:44 UTC 2024
On Fri, 31 May 2024 17:48:43 GMT, Galder Zamarreño <galder at openjdk.org> wrote:
> Fixes https://bugs.openjdk.org/browse/CODETOOLS-7903740
So, what would happen when event with option is not supported by `perf record`? Suppose `events` is supported and `events:ppp` is not. We check `events` and it works, we proceed to using `events:ppp` at runtime and fail.
Since there is an apparent discrepancy between what `perf record` and `perf stat` accept, I think we need to validate with `perf record` then.
-------------
PR Review: https://git.openjdk.org/jmh/pull/132#pullrequestreview-2188281318
More information about the jmh-dev
mailing list