Merge pull request #65364 from yokofly/patch-1

[docs] pin the gimli-rs/addr2line version in allocation-profiling.md
This commit is contained in:
Raúl Marín 2024-06-18 11:04:52 +00:00 committed by GitHub
commit 22f6095484
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,10 +59,10 @@ For that, we need to use `jemalloc`'s tool called [jeprof](https://github.com/je
If thats the case, we recommend installing an [alternative implementation](https://github.com/gimli-rs/addr2line) of the tool.
```
git clone https://github.com/gimli-rs/addr2line
git clone https://github.com/gimli-rs/addr2line.git --depth=1 --branch=0.23.0
cd addr2line
cargo b --examples -r
cp ./target/release/examples/addr2line path/to/current/addr2line
cargo build --features bin --release
cp ./target/release/addr2line path/to/current/addr2line
```
:::