Skip to content

Commit e81dc9a

Browse files
committed
docs: updating readme with new input type
1 parent 2324297 commit e81dc9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Convert performance profiles to a hierarchical data structure.
4545
4646
Examples:
4747
burn convert examples/out.perf
48-
burn convert --folded examples/out.perf-folded
48+
burn convert --type=folded examples/out.perf-folded
4949
burn convert --html examples/out.perf
5050
burn convert --output=flame.json examples/out.perf
5151
burn convert --html --output=flame.html examples/out.perf
@@ -55,11 +55,11 @@ Usage:
5555
burn convert [flags] (<input>)
5656
5757
Flags:
58-
-f, --folded input is a folded stack
5958
-h, --help help for convert
6059
-m, --html output is a html flame graph
6160
--output string output file
6261
-p, --pretty json output is pretty printed
62+
--type string input type (default "perf")
6363
6464
Global Flags:
6565
--config string config file (default is $HOME/.burn.yaml)

cmd/convert.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Examples:
4242
burn convert --html examples/out.perf
4343
burn convert --output=flame.json examples/out.perf
4444
burn convert --html --output=flame.html examples/out.perf
45+
perf script | burn convert --html
4546
`,
4647
Run: func(cmd *cobra.Command, args []string) {
4748
file := (*os.File)(nil)

0 commit comments

Comments
 (0)