Skip to content

Commit

Permalink
Merge #769: Udpate profiling docs
Browse files Browse the repository at this point in the history
3ac4aa5 docs: [#768] udpate profiling docs (Jose Celano)

Pull request description:

  And remove the introduced warning after adding configuration for profiling in the Cargo.toml file.

  I've disabled that configuration because the profiling tool requires other system dependencies too. YOu have to install those dependencies and uncomment that configuration to generate the flamegrpah.

ACKs for top commit:
  josecelano:
    ACK 3ac4aa5

Tree-SHA512: d4adb52236b449ff44a4965ac661468418959978ba5dbd2a199b2eb7345bde111dd68dd322d3f6d63bbf9f75097737b0cf8abc38bba7157451f85e65808422fb
  • Loading branch information
josecelano committed Apr 1, 2024
2 parents bf71687 + 3ac4aa5 commit 2277099
Show file tree
Hide file tree
Showing 7 changed files with 1,069 additions and 7 deletions.
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ rustflags = [
"-D",
"unused",
]

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ debug = 1
lto = "fat"
opt-level = 3

[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"]
[profile.release-debug]
inherits = "release"
debug = true
8 changes: 7 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"bools",
"Bragilevsky",
"bufs",
"buildid",
"Buildx",
"byteorder",
"callgrind",
Expand Down Expand Up @@ -69,9 +70,12 @@
"infoschema",
"Intermodal",
"intervali",
"kcachegrind",
"Joakim",
"kallsyms",
"kcachegrind",
"kexec",
"keyout",
"kptr",
"lcov",
"leecher",
"leechers",
Expand All @@ -83,6 +87,7 @@
"matchmakes",
"metainfo",
"middlewares",
"misresolved",
"mockall",
"multimap",
"myacicontext",
Expand Down Expand Up @@ -152,6 +157,7 @@
"Vagaa",
"valgrind",
"Vitaly",
"vmlinux",
"Vuze",
"Weidendorfer",
"Werror",
Expand Down
4 changes: 2 additions & 2 deletions docs/media/flamegraph.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2277099

Please sign in to comment.