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

Erik Gahlin egahlin at openjdk.org
Fri Oct 21 14:14:07 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 "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

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

  Fix print command

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

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

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

  Stats: 2 lines in 1 file changed: 0 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