Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add converter [options] help #870

Closed
cloud-66 opened this issue Dec 19, 2023 · 1 comment
Closed

add converter [options] help #870

cloud-66 opened this issue Dec 19, 2023 · 1 comment

Comments

@cloud-66
Copy link

Where can i find which options converter support? For example there was some parameter like --from --to period time for converting specific period to flamegraph.

@apangin
Copy link
Collaborator

apangin commented Dec 19, 2023

$ java -cp converter.jar jfr2flame
Usage: java jfr2flame [options] input.jfr [output.html]

options include all supported FlameGraph options, plus the following:
  --alloc       Allocation Flame Graph
  --live        Include only live objects in allocation profile
  --lock        Lock contention Flame Graph
  --threads     Split profile by threads
  --state LIST  Filter samples by thread states: RUNNABLE, SLEEPING, etc.
  --classify    Classify samples into predefined categories
  --total       Accumulate the total value (time, bytes, etc.)
  --lines       Show line numbers
  --bci         Show bytecode indices
  --simple      Simple class names instead of FQN
  --dot         Dotted class names
  --norm        Normalize names of hidden classes / lambdas
  --from TIME   Start time in ms (absolute or relative)
  --to TIME     End time in ms (absolute or relative)
  --collapsed   Use collapsed stacks output format

Specifically about time range:
#526 (comment)

@apangin apangin closed this as completed Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants