diff --git a/Cargo.lock b/Cargo.lock index edf460e4679..f9410e292ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11106,8 +11106,7 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "pprof" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38a01da47675efa7673b032bf8efd8214f1917d89685e07e395ab125ea42b187" +source = "git+https://github.com/tikv/pprof-rs?rev=01cff82dbe6fe110a707bf2b38d8ebb1d14a18f8#01cff82dbe6fe110a707bf2b38d8ebb1d14a18f8" dependencies = [ "aligned-vec", "backtrace", diff --git a/Cargo.toml b/Cargo.toml index 702498ee5e5..9fa5d013272 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -384,6 +384,10 @@ datafusion-pg-catalog = { git = "https://github.com/datafusion-contrib/datafusio arrow-pg = { git = "https://github.com/datafusion-contrib/datafusion-postgres.git", rev = "ffb14a52b3d7c7489559812e1ec38096f225ce93" } sqlparser = { git = "https://github.com/GreptimeTeam/sqlparser-rs.git", rev = "9e9019bb1c7040ed956f654e39378dd42ab17884" } +# pprof 0.15.0 initializes framehop inside SIGPROF; pin the unreleased fix +# that initializes it before sampling. Remove once tikv/pprof-rs#282 is released. +pprof = { git = "https://github.com/tikv/pprof-rs", rev = "01cff82dbe6fe110a707bf2b38d8ebb1d14a18f8" } + # Temporary: use the GreptimeTeam fork of tikv-jemalloc-sys embedding # jemalloc 5.3.1 + backport of 54f22c83 ("Initialize TSD tcache before # enabling it"), fixing the TSD/tcache enable-before-init reentrancy