RFR: 8295650: JFR: jfr scrub should warn if an event type doesn't exist [v2]

Erik Gahlin egahlin at openjdk.org
Thu Oct 20 10:47:15 UTC 2022


> 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 "InitialEnvironmentVariables" and believe events have been removed from 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

Erik Gahlin has updated the pull request incrementally with one additional commit since the last revision:

  Fix metadata command

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10779/files
  - new: https://git.openjdk.org/jdk/pull/10779/files/0af0c2f2..bd317331

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10779&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10779&range=00-01

  Stats: 5 lines in 2 files changed: 3 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/10779.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10779/head:pull/10779

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


More information about the hotspot-jfr-dev mailing list