Skip to content

Commit 2277099

Browse files
committed
Merge #769: Udpate profiling docs
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
2 parents bf71687 + 3ac4aa5 commit 2277099

7 files changed

+1069
-7
lines changed

.cargo/config.toml

+1
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ rustflags = [
2323
"-D",
2424
"unused",
2525
]
26+

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ debug = 1
103103
lto = "fat"
104104
opt-level = 3
105105

106-
[target.x86_64-unknown-linux-gnu]
107-
linker = "/usr/bin/clang"
108-
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"]
106+
[profile.release-debug]
107+
inherits = "release"
108+
debug = true

cSpell.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"bools",
2222
"Bragilevsky",
2323
"bufs",
24+
"buildid",
2425
"Buildx",
2526
"byteorder",
2627
"callgrind",
@@ -69,9 +70,12 @@
6970
"infoschema",
7071
"Intermodal",
7172
"intervali",
72-
"kcachegrind",
7373
"Joakim",
74+
"kallsyms",
75+
"kcachegrind",
76+
"kexec",
7477
"keyout",
78+
"kptr",
7579
"lcov",
7680
"leecher",
7781
"leechers",
@@ -83,6 +87,7 @@
8387
"matchmakes",
8488
"metainfo",
8589
"middlewares",
90+
"misresolved",
8691
"mockall",
8792
"multimap",
8893
"myacicontext",
@@ -152,6 +157,7 @@
152157
"Vagaa",
153158
"valgrind",
154159
"Vitaly",
160+
"vmlinux",
155161
"Vuze",
156162
"Weidendorfer",
157163
"Werror",

docs/media/flamegraph.svg

+2-2
Loading

0 commit comments

Comments
 (0)