thlorenz / flamegraph

Generates flamegraphs with Node.js or in the browser.
http://thlorenz.github.io/flamegraph/web/
MIT License
165 stars 28 forks source link

add command line option for mapping / symbols #12

Closed yamsellem closed 7 years ago

yamsellem commented 9 years ago

The ui wait for a .csv file and may take a perf-id.map file. This pull request add a --map parameter to the command line client, so the same operation can be made with it. It also add a --file and --output parameters so pipe and output redirect are not compulsory.

Readme file is updated accordingly.

flamegraph -t instruments -f instruments-callgraph.csv -m perf-4499.map -o flamegraph.svg
thlorenz commented 7 years ago

Thanks, merged 6dc0406