RFR: 8256156: JFR: Allow 'jfr' tool to show metadata without a recording [v11]
Yang Yi
github.com+5010047+kelthuzadx at openjdk.java.net
Sun Feb 7 03:03:02 UTC 2021
> Hi all,
>
> May I please have a review for this minor patch?
>
> It simplifies the use of subcommand `metadata` of jfr tool. Recording
> file is no longer mandatory, users can directly use `jfr metadata` to
> output JDK builtin meta information. As JDK-8256156 mentioned, it also
> supports events and categories filters:
> $ jfr metadata
> $ jfr metadata recording.jfr # compatible
> $ jfr metadata --events jdk.ThreadStart,jdk.ThreadEnd
> $ jfr metadata --events jdk.ThreadStart,jdk.ThreadEnd recording.jfr
> $ jfr metadata --categories GC,Detailed
> $ jfr metadata --categories GC,Detailed recording.jfr
Yang Yi has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
keep eventtype and apply filter on it
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/1904/files
- new: https://git.openjdk.java.net/jdk/pull/1904/files/5ffcaca0..15a3ab43
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1904&range=10
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1904&range=09-10
Stats: 46 lines in 5 files changed: 12 ins; 14 del; 20 mod
Patch: https://git.openjdk.java.net/jdk/pull/1904.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1904/head:pull/1904
PR: https://git.openjdk.java.net/jdk/pull/1904
More information about the hotspot-jfr-dev
mailing list