Integrated: 8295650: JFR: jfr scrub should warn if an event type doesn't exist

Erik Gahlin egahlin at openjdk.org
Fri Oct 21 17:18:52 UTC 2022


On Thu, 20 Oct 2022 05:35:10 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Hi,
> 
> It's easy to do a typo when using the 'jfr scrub' command. For example, a user may type "jdk.InitialEnvironmentVariables", "jdk.EnvironmentVariable" or "InitialEnvironmentVariable" and believe events have been removed from a recording file when they should have typed "jdk.InitialEnvironmentVariable" to filter out sensitive data. 
> 
> To help users, a warning message is now written if an event filter doesn't match metadata available in the recording.
> 
> Thanks
> Erik

This pull request has now been integrated.

Changeset: f41711ef
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f41711ef63d1a14392bf5e5b9ae6939f8772e803
Stats:     77 lines in 5 files changed: 55 ins; 11 del; 11 mod

8295650: JFR: jfr scrub should warn if an event type doesn't exist

Reviewed-by: mgronlun

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

PR: https://git.openjdk.org/jdk/pull/10779


More information about the hotspot-jfr-dev mailing list