diff --git a/Cargo.lock b/Cargo.lock index a9de1ff54cc..bedaed3e1f6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -49,9 +49,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "0.7.6" +version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" +checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" dependencies = [ "memchr", ] @@ -99,7 +99,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "398bc55d60097e7b7e9be67d1cb03cb41e5bf4901381607ba0fca8b1328584d6" dependencies = [ "bytes 0.4.12", - "libc 0.2.100", + "libc 0.2.106", "serde_json", ] @@ -162,7 +162,7 @@ version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "winapi 0.3.9", ] @@ -209,7 +209,7 @@ dependencies = [ "addr2line", "cc", "cfg-if 1.0.0", - "libc 0.2.100", + "libc 0.2.106", "miniz_oxide 0.4.4", "object", "rustc-demangle", @@ -293,7 +293,7 @@ dependencies = [ "bcc-sys", "bitflags", "byteorder", - "libc 0.2.100", + "libc 0.2.106", "regex", "thiserror", ] @@ -337,9 +337,9 @@ checksum = "46afbd2983a5d5a7bd740ccb198caf5b82f45c40c09c0eed36052d91cb92e719" [[package]] name = "bitflags" -version = "1.2.1" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "block-buffer" @@ -415,7 +415,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" dependencies = [ "cc", - "libc 0.2.100", + "libc 0.2.106", "pkg-config", ] @@ -435,7 +435,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7f788eaf239475a3c1e1acf89951255a46c4b9b46cf3e866fc4d0707b4b9e36" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "valgrind_request", ] @@ -559,7 +559,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f54d78e30b388d4815220c8dd03fea5656b6c6d32adb59e89061552a102f8da1" dependencies = [ "glob", - "libc 0.2.100", + "libc 0.2.106", "libloading", ] @@ -612,7 +612,7 @@ dependencies = [ "byteorder", "bytes 1.0.1", "error_code", - "libc 0.2.100", + "libc 0.2.106", "panic_hook", "protobuf", "rand 0.8.3", @@ -660,7 +660,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62" dependencies = [ "core-foundation-sys", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -723,7 +723,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63aaaf47e457badbcb376c65a49d0f182c317ebd97dc6d1ced94c8e1d09c0f3a" dependencies = [ "criterion", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -1002,7 +1002,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "redox_users", "winapi 0.3.9", ] @@ -1264,7 +1264,7 @@ dependencies = [ "grpcio", "kvproto", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "libloading", "matches", "nix 0.11.1", @@ -1320,7 +1320,7 @@ dependencies = [ "crossbeam-utils 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", "fs2", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "maligned", "nix 0.19.0", "online_config", @@ -1344,16 +1344,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8" dependencies = [ "cfg-if 1.0.0", - "libc 0.2.100", + "libc 0.2.106", "redox_syscall 0.2.6", "winapi 0.3.9", ] +[[package]] +name = "findshlibs" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d691fdb3f817632d259d09220d4cf0991dbb2c9e59e044a02a59194bf6e14484" +dependencies = [ + "cc", + "lazy_static", + "libc 0.2.106", + "winapi 0.3.9", +] + [[package]] name = "fixedbitset" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" +checksum = "398ea4fabe40b9b0d885340a2a991a44c8a645624075ad966d21f88688e2b69e" [[package]] name = "flate2" @@ -1362,7 +1374,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2adaffba6388640136149e18ed080b77a78611c1e1d6de75aedcdf78df5d4682" dependencies = [ "crc32fast", - "libc 0.2.100", + "libc 0.2.106", "libz-sys", "miniz-sys", "miniz_oxide 0.3.7", @@ -1405,7 +1417,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "winapi 0.3.9", ] @@ -1431,7 +1443,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f41b048a94555da0f42f1d632e2e19510084fb8e303b0daa2816e733fb3644a0" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -1624,7 +1636,7 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8cc0b9f53275dc5fada808f1d2f82e3688a6c14d735633d1590b7be8eb2307b5" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "tempfile", ] @@ -1665,7 +1677,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "473a1265acc8ff1e808cd0a1af8cee3c2ee5200916058a2ca113c29f2d903571" dependencies = [ "cfg-if 0.1.10", - "libc 0.2.100", + "libc 0.2.106", "wasi 0.7.0", ] @@ -1676,7 +1688,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" dependencies = [ "cfg-if 1.0.0", - "libc 0.2.100", + "libc 0.2.106", "wasi 0.10.2+wasi-snapshot-preview1", ] @@ -1723,7 +1735,7 @@ checksum = "24d99e00eed7e0a04ee2705112e7cfdbe1a3cc771147f22f016a8cd2d002187b" dependencies = [ "futures 0.3.15", "grpcio-sys", - "libc 0.2.100", + "libc 0.2.106", "log", "parking_lot", "protobuf", @@ -1760,7 +1772,7 @@ dependencies = [ "boringssl-src", "cc", "cmake", - "libc 0.2.100", + "libc 0.2.106", "libz-sys", "openssl-sys", "pkg-config", @@ -1813,7 +1825,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "307c3c9f937f38e3534b1d6447ecf090cafcc9744e4a6360e8b037b2cf5af120" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -1991,7 +2003,7 @@ checksum = "4816c66d2c8ae673df83366c18341538f234a26d65a9ecea5c348b453ac1d02f" dependencies = [ "bitflags", "inotify-sys", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -2000,7 +2012,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -2027,7 +2039,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -2076,7 +2088,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2b1d42ef453b30b7387e113da1c83ab1605d90c5b4e0eb8e96d016ed3b8c160" dependencies = [ "getrandom 0.1.12", - "libc 0.2.100", + "libc 0.2.106", "log", ] @@ -2144,9 +2156,9 @@ checksum = "e32a70cf75e5846d53a673923498228bbec6a8624708a9ea5645f075d6276122" [[package]] name = "libc" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1fa8cddc8fbbee11227ef194b5317ed014b8acbf15139bd716a18ad3fe99ec5" +checksum = "a60553f9a9e039a333b4e9b20573b9e9b9c0bb3a11e201ccc48ef4283456d673" [[package]] name = "libfuzzer-sys" @@ -2186,7 +2198,7 @@ dependencies = [ "bzip2-sys", "cc", "cmake", - "libc 0.2.100", + "libc 0.2.106", "libtitan_sys", "libz-sys", "lz4-sys", @@ -2204,7 +2216,7 @@ dependencies = [ "bzip2-sys", "cc", "cmake", - "libc 0.2.100", + "libc 0.2.106", "libz-sys", "lz4-sys", "snappy-sys", @@ -2218,7 +2230,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66" dependencies = [ "cc", - "libc 0.2.100", + "libc 0.2.106", "pkg-config", "vcpkg", ] @@ -2274,7 +2286,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dca79aa95d8b3226213ad454d328369853be3a1382d89532a854f4d69640acae" dependencies = [ "cc", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -2315,7 +2327,7 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -2324,15 +2336,15 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "winapi 0.3.9", ] [[package]] name = "memoffset" -version = "0.6.1" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87" +checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" dependencies = [ "autocfg", ] @@ -2367,7 +2379,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e9e3ae51cea1576ceba0dde3d484d30e6e5b86dee0b2d412fe3a16a15c98202" dependencies = [ "cc", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -2400,7 +2412,7 @@ dependencies = [ "fuchsia-zircon-sys", "iovec", "kernel32-sys", - "libc 0.2.100", + "libc 0.2.106", "log", "miow 0.2.2", "net2", @@ -2414,7 +2426,7 @@ version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf80d3e903b34e0bd7282b218398aec54e082c840d9baf8339e0080a0c542956" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "log", "miow 0.3.7", "ntapi", @@ -2492,7 +2504,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8d96b2e1c8da3957d58100b09f102c6d9cfdfced01b7ec5a8974044bb09dbd4" dependencies = [ "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "log", "openssl", "openssl-probe", @@ -2510,7 +2522,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" dependencies = [ "cfg-if 0.1.10", - "libc 0.2.100", + "libc 0.2.106", "winapi 0.3.9", ] @@ -2523,7 +2535,7 @@ dependencies = [ "bitflags", "cc", "cfg-if 0.1.10", - "libc 0.2.100", + "libc 0.2.106", "void", ] @@ -2536,7 +2548,7 @@ dependencies = [ "bitflags", "cc", "cfg-if 0.1.10", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -2548,7 +2560,20 @@ dependencies = [ "bitflags", "cc", "cfg-if 0.1.10", - "libc 0.2.100", + "libc 0.2.106", +] + +[[package]] +name = "nix" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f305c2c2e4c39a82f7bf0bf65fb557f9070ce06781d4f2454295cc34b1c43188" +dependencies = [ + "bitflags", + "cc", + "cfg-if 1.0.0", + "libc 0.2.106", + "memoffset", ] [[package]] @@ -2594,7 +2619,7 @@ dependencies = [ "fsevent", "fsevent-sys", "inotify", - "libc 0.2.100", + "libc 0.2.106", "mio 0.6.23", "mio-extras", "walkdir", @@ -2701,7 +2726,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" dependencies = [ "hermit-abi", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -2760,7 +2785,7 @@ dependencies = [ "cfg-if 1.0.0", "foreign-types", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "openssl-sys", ] @@ -2787,7 +2812,7 @@ checksum = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6" dependencies = [ "autocfg", "cc", - "libc 0.2.100", + "libc 0.2.106", "openssl-src", "pkg-config", "vcpkg", @@ -2817,7 +2842,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eebde548fbbf1ea81a99b128872779c437752fb99f217c45245e1a61dcd9edcd" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "winapi 0.3.9", ] @@ -2844,7 +2869,7 @@ checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018" dependencies = [ "cfg-if 1.0.0", "instant", - "libc 0.2.100", + "libc 0.2.106", "redox_syscall 0.2.6", "smallvec", "winapi 0.3.9", @@ -2939,7 +2964,7 @@ checksum = "88a4decf2d171c232d741ca37d590cd50d35314b7d348198e7e474e0bf34c8b4" dependencies = [ "bitflags", "byteorder", - "libc 0.2.100", + "libc 0.2.106", "mmap", "nom 4.2.3", "phf", @@ -2957,9 +2982,9 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c127eea4a29ec6c85d153c59dc1213f33ec74cead30fe4730aecc88cc1fd92" +checksum = "4a13a2fa9d0b63e5f22328828741e523766fff0ee9e779316902290dff3f824f" dependencies = [ "fixedbitset", "indexmap", @@ -3082,7 +3107,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d27361d7578b410d0eb5fe815c2b2105b01ab770a7c738cb9a231457a809fcc7" dependencies = [ "ipnetwork", - "libc 0.2.100", + "libc 0.2.106", "pnet_base", "pnet_sys", "winapi 0.2.8", @@ -3094,23 +3119,25 @@ version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "82f881a6d75ac98c5541db6144682d1773bb14c6fc50c6ebac7086c8f7f23c29" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "winapi 0.2.8", "ws2_32-sys", ] [[package]] name = "pprof" -version = "0.4.2" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a066eee7dbaf89a91078ceb15f56642c8d934eb2a639e7f098dd3f365651f55a" +checksum = "9d47237f290398d4cfcd293fcc9dcc53cdb1f9bde65b78fcbfaafa7f8190d9e9" dependencies = [ "backtrace", + "cfg-if 1.0.0", + "findshlibs", "inferno", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "log", - "nix 0.19.0", + "nix 0.23.0", "parking_lot", "prost", "prost-build", @@ -3183,7 +3210,7 @@ dependencies = [ "flate2", "hex 0.4.2", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -3192,7 +3219,7 @@ version = "0.4.2" source = "git+https://github.com/tikv/procinfo-rs?rev=5125fc1a69496b73b26b3c08b6e8afc3c665a56e#5125fc1a69496b73b26b3c08b6e8afc3c665a56e" dependencies = [ "byteorder", - "libc 0.2.100", + "libc 0.2.106", "nom 2.2.1", "rustc_version 0.2.3", ] @@ -3217,7 +3244,7 @@ dependencies = [ "cfg-if 1.0.0", "fnv", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "memchr", "parking_lot", "protobuf", @@ -3248,9 +3275,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2" +checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" dependencies = [ "bytes 1.0.1", "prost-derive", @@ -3258,30 +3285,32 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3" +checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" dependencies = [ "bytes 1.0.1", "heck", - "itertools 0.9.0", + "itertools 0.10.0", + "lazy_static", "log", "multimap", "petgraph", "prost", "prost-types", + "regex", "tempfile", "which", ] [[package]] name = "prost-derive" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4" +checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" dependencies = [ "anyhow", - "itertools 0.9.0", + "itertools 0.10.0", "proc-macro2", "quote", "syn", @@ -3289,9 +3318,9 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.7.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb" +checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" dependencies = [ "bytes 1.0.1", "prost", @@ -3487,7 +3516,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" dependencies = [ "fuchsia-cprng", - "libc 0.2.100", + "libc 0.2.106", "rand_core 0.3.1", "rdrand", "winapi 0.3.9", @@ -3500,7 +3529,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ "getrandom 0.1.12", - "libc 0.2.100", + "libc 0.2.106", "rand_chacha 0.2.1", "rand_core 0.5.1", "rand_hc 0.2.0", @@ -3513,7 +3542,7 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "rand_chacha 0.3.0", "rand_core 0.6.2", "rand_hc 0.3.0", @@ -3687,14 +3716,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.4.2" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c" +checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" dependencies = [ "aho-corasick", "memchr", "regex-syntax", - "thread_local", ] [[package]] @@ -3708,9 +3736,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.21" +version = "0.6.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189" +checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" [[package]] name = "remove_dir_all" @@ -3803,7 +3831,7 @@ dependencies = [ "grpcio", "kvproto", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "log", "online_config", "pdqselect", @@ -3839,7 +3867,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b72b84d47e8ec5a4f2872e8262b8f8256c5be1c938a7d6d3a867a3ba8f722f74" dependencies = [ "cc", - "libc 0.2.100", + "libc 0.2.106", "once_cell", "spin", "untrusted", @@ -3852,7 +3880,7 @@ name = "rocksdb" version = "0.3.0" source = "git+https://github.com/tikv/rust-rocksdb.git#dcc1f836a2ae7a7ee71b6aed8cd4107e04a4b829" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "librocksdb_sys", ] @@ -4031,7 +4059,7 @@ checksum = "6f0d5e7b0219a3eadd5439498525d4765c59b7c993ef0c12244865cd2d988413" dependencies = [ "cfg-if 0.1.10", "dirs-next 1.0.2", - "libc 0.2.100", + "libc 0.2.106", "log", "memchr", "nix 0.18.0", @@ -4108,7 +4136,7 @@ dependencies = [ "bitflags", "core-foundation", "core-foundation-sys", - "libc 0.2.100", + "libc 0.2.106", "security-framework-sys", ] @@ -4119,7 +4147,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3676258fd3cfe2c9a0ec99ce3038798d847ce3e4bb17746373eb9f0f1ac16339" dependencies = [ "core-foundation-sys", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -4277,7 +4305,7 @@ dependencies = [ "hex 0.4.2", "keys", "kvproto", - "libc 0.2.100", + "libc 0.2.106", "log", "log_wrappers", "nix 0.11.1", @@ -4332,7 +4360,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "106428d9d96840ecdec5208c13ab8a4e28c38da1e0ccf2909fb44e41b992f897" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "nix 0.11.1", ] @@ -4342,7 +4370,7 @@ version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce32ea0c6c56d5eacaeb814fbed9960547021d3edd010ded1425f180536b20ab" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -4434,7 +4462,7 @@ version = "0.1.0" source = "git+https://github.com/busyjay/rust-snappy.git?branch=static-link#8c12738bad811397600455d6982aff754ea2ac44" dependencies = [ "cmake", - "libc 0.2.100", + "libc 0.2.106", "pkg-config", ] @@ -4462,7 +4490,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e3dfc207c526015c632472a77be09cf1b6e46866581aecae5cc38fb4235dea2" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "winapi 0.3.9", ] @@ -4629,7 +4657,7 @@ dependencies = [ "cfg-if 1.0.0", "core-foundation-sys", "doc-comment", - "libc 0.2.100", + "libc 0.2.106", "ntapi", "once_cell", "rayon", @@ -4712,7 +4740,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" dependencies = [ "cfg-if 1.0.0", - "libc 0.2.100", + "libc 0.2.106", "rand 0.8.3", "redox_syscall 0.2.6", "remove_dir_all", @@ -4980,7 +5008,7 @@ version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5fdfe0627923f7411a43ec9ec9c39c3a9b4151be313e0922042581fb6c9b717f" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "redox_syscall 0.2.6", "winapi 0.3.9", ] @@ -5184,7 +5212,7 @@ dependencies = [ "keys", "kvproto", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "libloading", "log", "log_wrappers", @@ -5279,7 +5307,7 @@ dependencies = [ "hex 0.4.2", "keys", "kvproto", - "libc 0.2.100", + "libc 0.2.106", "log", "log_wrappers", "nix 0.19.0", @@ -5315,7 +5343,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f28c80e4338857639f443169a601fafe49866aed8d7a8d565c2f5bfb1a021adf" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "paste 0.1.18", "tikv-jemalloc-sys", ] @@ -5328,7 +5356,7 @@ checksum = "8a26331b05179d4cb505c8d6814a7e18d298972f0a551b0e3cefccff927f86d3" dependencies = [ "cc", "fs_extra", - "libc 0.2.100", + "libc 0.2.106", ] [[package]] @@ -5337,7 +5365,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c14a5a604eb8715bc5785018a37d00739b180bcf609916ddf4393d33d49ccdf" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "tikv-jemalloc-sys", ] @@ -5358,7 +5386,7 @@ version = "0.1.0" dependencies = [ "fxhash", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "mimalloc", "snmalloc-rs", "tcmalloc", @@ -5423,7 +5451,7 @@ dependencies = [ "http", "kvproto", "lazy_static", - "libc 0.2.100", + "libc 0.2.106", "log", "log_wrappers", "nix 0.19.0", @@ -5466,7 +5494,7 @@ version = "0.1.42" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "redox_syscall 0.1.56", "winapi 0.3.9", ] @@ -5509,7 +5537,7 @@ checksum = "c2c2416fdedca8443ae44b4527de1ea633af61d8f7169ffa6e72c5b53d24efcc" dependencies = [ "autocfg", "bytes 1.0.1", - "libc 0.2.100", + "libc 0.2.106", "memchr", "mio 0.7.11", "num_cpus", @@ -5765,7 +5793,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "055058552ca15c566082fc61da433ae678f78986a6f16957e33162d1b218792a" dependencies = [ "kernel32-sys", - "libc 0.2.100", + "libc 0.2.106", "winapi 0.2.8", ] @@ -5938,7 +5966,7 @@ version = "4.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87c14ef7e1b8b8ecfc75d5eca37949410046e66f15d185c01d70824f1f8111ef" dependencies = [ - "libc 0.2.100", + "libc 0.2.106", "thiserror", ] @@ -6070,5 +6098,5 @@ dependencies = [ "cc", "glob", "itertools 0.9.0", - "libc 0.2.100", + "libc 0.2.106", ] diff --git a/Cargo.toml b/Cargo.toml index b345ea9b710..4525f1a3de7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,7 +108,7 @@ num_cpus = "1" pd_client = { path = "components/pd_client", default-features = false } pin-project = "1.0" pnet_datalink = "0.23" -pprof = { version = "^0.4", default-features = false, features = ["flamegraph", "protobuf"] } +pprof = { version = "^0.6", default-features = false, features = ["flamegraph", "protobuf"] } protobuf = { version = "2.8", features = ["bytes"] } raft = { version = "0.6.0-alpha", default-features = false, features = ["protobuf-codec"] } raftstore = { path = "components/raftstore", default-features = false } diff --git a/src/server/status_server/profile.rs b/src/server/status_server/profile.rs index df57bbc77e0..beb333ce306 100644 --- a/src/server/status_server/profile.rs +++ b/src/server/status_server/profile.rs @@ -174,8 +174,11 @@ where F: Future> + Send + 'static, { let on_start = || { - let guard = pprof::ProfilerGuard::new(frequency) - .map_err(|e| format!("pprof::ProfileGuard::new fail: {}", e))?; + let guard = pprof::ProfilerGuardBuilder::default() + .frequency(frequency) + .blocklist(&["libc", "libgcc", "pthread"]) + .build() + .map_err(|e| format!("pprof::ProfilerGuardBuilder::build fail: {}", e))?; Ok(guard) };