Skip to content

Commit

Permalink
Merge pull request #84 from danicheg/update-flamegraph
Browse files Browse the repository at this point in the history
Update the FlameGraph
  • Loading branch information
danicheg authored Jan 10, 2024
2 parents 81b551f + 6086ecf commit 175e451
Show file tree
Hide file tree
Showing 5 changed files with 6,599 additions and 6,530 deletions.
7 changes: 4 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "FlameGraph"]
path = FlameGraph
url = [email protected]:jvican/FlameGraph.git
[submodule "external/FlameGraph"]
path = external/FlameGraph
url = https://github.com/scalacenter/FlameGraph
branch = scala-compilation
1 change: 0 additions & 1 deletion FlameGraph
Submodule FlameGraph deleted from 7d17e8
6 changes: 3 additions & 3 deletions docs/user-guide/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ They are intuitive to inspect and browse, and stand out because:
### Lastly, how to generate a flamegraph?

In order to generate flamegraphs, clone the [scalac-profiling][flamegraph]
GitHub repository. The repository contains the `Flamegraph` git module consisting
GitHub repository. The repository contains the `FlameGraph` git submodule consisting
of the tools to generate the SVG files that you will later use. Once the prepared
data is generated by the compiler plugin (`.flamegraph` file):

1. `cd` into the `Flamegraph` directory;
1. `cd` into the `external/Flamegraph` directory;
2. Execute the `git submodule update --init`;
3. And run the following command in the `Flamegraph` project's root directory:
3. And run the following command in the `FlameGraph` project's root directory:
```bash
./flamegraph.pl \
--hash --countname="μs" \
Expand Down
1 change: 1 addition & 0 deletions external/FlameGraph
Submodule FlameGraph added at 85f58b
Loading

0 comments on commit 175e451

Please sign in to comment.