pyroscope 0.5.10-x86_64-darwin → 0.5.11-x86_64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/Gemfile.lock +23 -0
- data/ext/rbspy/Cargo.toml +1 -6
- data/ext/rbspy/include/rbspy.h +43 -0
- data/ext/rbspy/src/lib.rs +1 -8
- data/ext/thread_id/Cargo.toml +1 -7
- data/ext/thread_id/include/thread_id.h +17 -0
- data/lib/pyroscope/version.rb +1 -1
- data/lib/rbspy/rbspy.bundle +0 -0
- data/lib/thread_id/thread_id.bundle +0 -0
- data/pyroscope.gemspec +27 -2
- metadata +7 -16
- data/elflib/rbspy/manylinux.sh +0 -19
- data/elflib/rbspy/pyproject.toml +0 -7
- data/elflib/rbspy/rbspy/__init__.py +0 -0
- data/elflib/rbspy/setup.cfg +0 -22
- data/elflib/rbspy/setup.py +0 -46
- data/elflib/thread_id/manylinux.sh +0 -19
- data/elflib/thread_id/pyproject.toml +0 -7
- data/elflib/thread_id/setup.cfg +0 -22
- data/elflib/thread_id/setup.py +0 -46
- data/elflib/thread_id/thread_id/__init__.py +0 -0
- data/ext/rbspy/Cargo.lock +0 -2588
- data/ext/thread_id/Cargo.lock +0 -453
- data/scripts/docker.sh +0 -23
- data/scripts/tests/test.rb +0 -59
    
        data/ext/thread_id/Cargo.lock
    DELETED
    
    | @@ -1,453 +0,0 @@ | |
| 1 | 
            -
            # This file is automatically @generated by Cargo.
         | 
| 2 | 
            -
            # It is not intended for manual editing.
         | 
| 3 | 
            -
            version = 3
         | 
| 4 | 
            -
             | 
| 5 | 
            -
            [[package]]
         | 
| 6 | 
            -
            name = "ansi_term"
         | 
| 7 | 
            -
            version = "0.12.1"
         | 
| 8 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 9 | 
            -
            checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
         | 
| 10 | 
            -
            dependencies = [
         | 
| 11 | 
            -
             "winapi",
         | 
| 12 | 
            -
            ]
         | 
| 13 | 
            -
             | 
| 14 | 
            -
            [[package]]
         | 
| 15 | 
            -
            name = "atty"
         | 
| 16 | 
            -
            version = "0.2.14"
         | 
| 17 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 18 | 
            -
            checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
         | 
| 19 | 
            -
            dependencies = [
         | 
| 20 | 
            -
             "hermit-abi 0.1.19",
         | 
| 21 | 
            -
             "libc",
         | 
| 22 | 
            -
             "winapi",
         | 
| 23 | 
            -
            ]
         | 
| 24 | 
            -
             | 
| 25 | 
            -
            [[package]]
         | 
| 26 | 
            -
            name = "autocfg"
         | 
| 27 | 
            -
            version = "1.1.0"
         | 
| 28 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 29 | 
            -
            checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
         | 
| 30 | 
            -
             | 
| 31 | 
            -
            [[package]]
         | 
| 32 | 
            -
            name = "bitflags"
         | 
| 33 | 
            -
            version = "1.3.2"
         | 
| 34 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 35 | 
            -
            checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
         | 
| 36 | 
            -
             | 
| 37 | 
            -
            [[package]]
         | 
| 38 | 
            -
            name = "cbindgen"
         | 
| 39 | 
            -
            version = "0.20.0"
         | 
| 40 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 41 | 
            -
            checksum = "51e3973b165dc0f435831a9e426de67e894de532754ff7a3f307c03ee5dec7dc"
         | 
| 42 | 
            -
            dependencies = [
         | 
| 43 | 
            -
             "clap",
         | 
| 44 | 
            -
             "heck",
         | 
| 45 | 
            -
             "indexmap",
         | 
| 46 | 
            -
             "log",
         | 
| 47 | 
            -
             "proc-macro2",
         | 
| 48 | 
            -
             "quote",
         | 
| 49 | 
            -
             "serde",
         | 
| 50 | 
            -
             "serde_json",
         | 
| 51 | 
            -
             "syn 1.0.109",
         | 
| 52 | 
            -
             "tempfile",
         | 
| 53 | 
            -
             "toml",
         | 
| 54 | 
            -
            ]
         | 
| 55 | 
            -
             | 
| 56 | 
            -
            [[package]]
         | 
| 57 | 
            -
            name = "cc"
         | 
| 58 | 
            -
            version = "1.0.79"
         | 
| 59 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 60 | 
            -
            checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
         | 
| 61 | 
            -
             | 
| 62 | 
            -
            [[package]]
         | 
| 63 | 
            -
            name = "cfg-if"
         | 
| 64 | 
            -
            version = "1.0.0"
         | 
| 65 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 66 | 
            -
            checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
         | 
| 67 | 
            -
             | 
| 68 | 
            -
            [[package]]
         | 
| 69 | 
            -
            name = "clap"
         | 
| 70 | 
            -
            version = "2.34.0"
         | 
| 71 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 72 | 
            -
            checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
         | 
| 73 | 
            -
            dependencies = [
         | 
| 74 | 
            -
             "ansi_term",
         | 
| 75 | 
            -
             "atty",
         | 
| 76 | 
            -
             "bitflags",
         | 
| 77 | 
            -
             "strsim",
         | 
| 78 | 
            -
             "textwrap",
         | 
| 79 | 
            -
             "unicode-width",
         | 
| 80 | 
            -
             "vec_map",
         | 
| 81 | 
            -
            ]
         | 
| 82 | 
            -
             | 
| 83 | 
            -
            [[package]]
         | 
| 84 | 
            -
            name = "errno"
         | 
| 85 | 
            -
            version = "0.3.1"
         | 
| 86 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 87 | 
            -
            checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
         | 
| 88 | 
            -
            dependencies = [
         | 
| 89 | 
            -
             "errno-dragonfly",
         | 
| 90 | 
            -
             "libc",
         | 
| 91 | 
            -
             "windows-sys",
         | 
| 92 | 
            -
            ]
         | 
| 93 | 
            -
             | 
| 94 | 
            -
            [[package]]
         | 
| 95 | 
            -
            name = "errno-dragonfly"
         | 
| 96 | 
            -
            version = "0.1.2"
         | 
| 97 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 98 | 
            -
            checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
         | 
| 99 | 
            -
            dependencies = [
         | 
| 100 | 
            -
             "cc",
         | 
| 101 | 
            -
             "libc",
         | 
| 102 | 
            -
            ]
         | 
| 103 | 
            -
             | 
| 104 | 
            -
            [[package]]
         | 
| 105 | 
            -
            name = "fastrand"
         | 
| 106 | 
            -
            version = "1.9.0"
         | 
| 107 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 108 | 
            -
            checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
         | 
| 109 | 
            -
            dependencies = [
         | 
| 110 | 
            -
             "instant",
         | 
| 111 | 
            -
            ]
         | 
| 112 | 
            -
             | 
| 113 | 
            -
            [[package]]
         | 
| 114 | 
            -
            name = "hashbrown"
         | 
| 115 | 
            -
            version = "0.12.3"
         | 
| 116 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 117 | 
            -
            checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
         | 
| 118 | 
            -
             | 
| 119 | 
            -
            [[package]]
         | 
| 120 | 
            -
            name = "heck"
         | 
| 121 | 
            -
            version = "0.3.3"
         | 
| 122 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 123 | 
            -
            checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
         | 
| 124 | 
            -
            dependencies = [
         | 
| 125 | 
            -
             "unicode-segmentation",
         | 
| 126 | 
            -
            ]
         | 
| 127 | 
            -
             | 
| 128 | 
            -
            [[package]]
         | 
| 129 | 
            -
            name = "hermit-abi"
         | 
| 130 | 
            -
            version = "0.1.19"
         | 
| 131 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 132 | 
            -
            checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
         | 
| 133 | 
            -
            dependencies = [
         | 
| 134 | 
            -
             "libc",
         | 
| 135 | 
            -
            ]
         | 
| 136 | 
            -
             | 
| 137 | 
            -
            [[package]]
         | 
| 138 | 
            -
            name = "hermit-abi"
         | 
| 139 | 
            -
            version = "0.3.2"
         | 
| 140 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 141 | 
            -
            checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
         | 
| 142 | 
            -
             | 
| 143 | 
            -
            [[package]]
         | 
| 144 | 
            -
            name = "indexmap"
         | 
| 145 | 
            -
            version = "1.9.3"
         | 
| 146 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 147 | 
            -
            checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
         | 
| 148 | 
            -
            dependencies = [
         | 
| 149 | 
            -
             "autocfg",
         | 
| 150 | 
            -
             "hashbrown",
         | 
| 151 | 
            -
            ]
         | 
| 152 | 
            -
             | 
| 153 | 
            -
            [[package]]
         | 
| 154 | 
            -
            name = "instant"
         | 
| 155 | 
            -
            version = "0.1.12"
         | 
| 156 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 157 | 
            -
            checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
         | 
| 158 | 
            -
            dependencies = [
         | 
| 159 | 
            -
             "cfg-if",
         | 
| 160 | 
            -
            ]
         | 
| 161 | 
            -
             | 
| 162 | 
            -
            [[package]]
         | 
| 163 | 
            -
            name = "io-lifetimes"
         | 
| 164 | 
            -
            version = "1.0.11"
         | 
| 165 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 166 | 
            -
            checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
         | 
| 167 | 
            -
            dependencies = [
         | 
| 168 | 
            -
             "hermit-abi 0.3.2",
         | 
| 169 | 
            -
             "libc",
         | 
| 170 | 
            -
             "windows-sys",
         | 
| 171 | 
            -
            ]
         | 
| 172 | 
            -
             | 
| 173 | 
            -
            [[package]]
         | 
| 174 | 
            -
            name = "itoa"
         | 
| 175 | 
            -
            version = "1.0.8"
         | 
| 176 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 177 | 
            -
            checksum = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a"
         | 
| 178 | 
            -
             | 
| 179 | 
            -
            [[package]]
         | 
| 180 | 
            -
            name = "libc"
         | 
| 181 | 
            -
            version = "0.2.147"
         | 
| 182 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 183 | 
            -
            checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
         | 
| 184 | 
            -
             | 
| 185 | 
            -
            [[package]]
         | 
| 186 | 
            -
            name = "linux-raw-sys"
         | 
| 187 | 
            -
            version = "0.3.8"
         | 
| 188 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 189 | 
            -
            checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
         | 
| 190 | 
            -
             | 
| 191 | 
            -
            [[package]]
         | 
| 192 | 
            -
            name = "log"
         | 
| 193 | 
            -
            version = "0.4.19"
         | 
| 194 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 195 | 
            -
            checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
         | 
| 196 | 
            -
             | 
| 197 | 
            -
            [[package]]
         | 
| 198 | 
            -
            name = "proc-macro2"
         | 
| 199 | 
            -
            version = "1.0.64"
         | 
| 200 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 201 | 
            -
            checksum = "78803b62cbf1f46fde80d7c0e803111524b9877184cfe7c3033659490ac7a7da"
         | 
| 202 | 
            -
            dependencies = [
         | 
| 203 | 
            -
             "unicode-ident",
         | 
| 204 | 
            -
            ]
         | 
| 205 | 
            -
             | 
| 206 | 
            -
            [[package]]
         | 
| 207 | 
            -
            name = "quote"
         | 
| 208 | 
            -
            version = "1.0.29"
         | 
| 209 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 210 | 
            -
            checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105"
         | 
| 211 | 
            -
            dependencies = [
         | 
| 212 | 
            -
             "proc-macro2",
         | 
| 213 | 
            -
            ]
         | 
| 214 | 
            -
             | 
| 215 | 
            -
            [[package]]
         | 
| 216 | 
            -
            name = "redox_syscall"
         | 
| 217 | 
            -
            version = "0.3.5"
         | 
| 218 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 219 | 
            -
            checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
         | 
| 220 | 
            -
            dependencies = [
         | 
| 221 | 
            -
             "bitflags",
         | 
| 222 | 
            -
            ]
         | 
| 223 | 
            -
             | 
| 224 | 
            -
            [[package]]
         | 
| 225 | 
            -
            name = "rustix"
         | 
| 226 | 
            -
            version = "0.37.23"
         | 
| 227 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 228 | 
            -
            checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06"
         | 
| 229 | 
            -
            dependencies = [
         | 
| 230 | 
            -
             "bitflags",
         | 
| 231 | 
            -
             "errno",
         | 
| 232 | 
            -
             "io-lifetimes",
         | 
| 233 | 
            -
             "libc",
         | 
| 234 | 
            -
             "linux-raw-sys",
         | 
| 235 | 
            -
             "windows-sys",
         | 
| 236 | 
            -
            ]
         | 
| 237 | 
            -
             | 
| 238 | 
            -
            [[package]]
         | 
| 239 | 
            -
            name = "ryu"
         | 
| 240 | 
            -
            version = "1.0.14"
         | 
| 241 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 242 | 
            -
            checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9"
         | 
| 243 | 
            -
             | 
| 244 | 
            -
            [[package]]
         | 
| 245 | 
            -
            name = "serde"
         | 
| 246 | 
            -
            version = "1.0.171"
         | 
| 247 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 248 | 
            -
            checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9"
         | 
| 249 | 
            -
            dependencies = [
         | 
| 250 | 
            -
             "serde_derive",
         | 
| 251 | 
            -
            ]
         | 
| 252 | 
            -
             | 
| 253 | 
            -
            [[package]]
         | 
| 254 | 
            -
            name = "serde_derive"
         | 
| 255 | 
            -
            version = "1.0.171"
         | 
| 256 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 257 | 
            -
            checksum = "389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682"
         | 
| 258 | 
            -
            dependencies = [
         | 
| 259 | 
            -
             "proc-macro2",
         | 
| 260 | 
            -
             "quote",
         | 
| 261 | 
            -
             "syn 2.0.25",
         | 
| 262 | 
            -
            ]
         | 
| 263 | 
            -
             | 
| 264 | 
            -
            [[package]]
         | 
| 265 | 
            -
            name = "serde_json"
         | 
| 266 | 
            -
            version = "1.0.100"
         | 
| 267 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 268 | 
            -
            checksum = "0f1e14e89be7aa4c4b78bdbdc9eb5bf8517829a600ae8eaa39a6e1d960b5185c"
         | 
| 269 | 
            -
            dependencies = [
         | 
| 270 | 
            -
             "itoa",
         | 
| 271 | 
            -
             "ryu",
         | 
| 272 | 
            -
             "serde",
         | 
| 273 | 
            -
            ]
         | 
| 274 | 
            -
             | 
| 275 | 
            -
            [[package]]
         | 
| 276 | 
            -
            name = "strsim"
         | 
| 277 | 
            -
            version = "0.8.0"
         | 
| 278 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 279 | 
            -
            checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
         | 
| 280 | 
            -
             | 
| 281 | 
            -
            [[package]]
         | 
| 282 | 
            -
            name = "syn"
         | 
| 283 | 
            -
            version = "1.0.109"
         | 
| 284 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 285 | 
            -
            checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
         | 
| 286 | 
            -
            dependencies = [
         | 
| 287 | 
            -
             "proc-macro2",
         | 
| 288 | 
            -
             "quote",
         | 
| 289 | 
            -
             "unicode-ident",
         | 
| 290 | 
            -
            ]
         | 
| 291 | 
            -
             | 
| 292 | 
            -
            [[package]]
         | 
| 293 | 
            -
            name = "syn"
         | 
| 294 | 
            -
            version = "2.0.25"
         | 
| 295 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 296 | 
            -
            checksum = "15e3fc8c0c74267e2df136e5e5fb656a464158aa57624053375eb9c8c6e25ae2"
         | 
| 297 | 
            -
            dependencies = [
         | 
| 298 | 
            -
             "proc-macro2",
         | 
| 299 | 
            -
             "quote",
         | 
| 300 | 
            -
             "unicode-ident",
         | 
| 301 | 
            -
            ]
         | 
| 302 | 
            -
             | 
| 303 | 
            -
            [[package]]
         | 
| 304 | 
            -
            name = "tempfile"
         | 
| 305 | 
            -
            version = "3.6.0"
         | 
| 306 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 307 | 
            -
            checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6"
         | 
| 308 | 
            -
            dependencies = [
         | 
| 309 | 
            -
             "autocfg",
         | 
| 310 | 
            -
             "cfg-if",
         | 
| 311 | 
            -
             "fastrand",
         | 
| 312 | 
            -
             "redox_syscall",
         | 
| 313 | 
            -
             "rustix",
         | 
| 314 | 
            -
             "windows-sys",
         | 
| 315 | 
            -
            ]
         | 
| 316 | 
            -
             | 
| 317 | 
            -
            [[package]]
         | 
| 318 | 
            -
            name = "textwrap"
         | 
| 319 | 
            -
            version = "0.11.0"
         | 
| 320 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 321 | 
            -
            checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
         | 
| 322 | 
            -
            dependencies = [
         | 
| 323 | 
            -
             "unicode-width",
         | 
| 324 | 
            -
            ]
         | 
| 325 | 
            -
             | 
| 326 | 
            -
            [[package]]
         | 
| 327 | 
            -
            name = "thread_id"
         | 
| 328 | 
            -
            version = "0.1.0"
         | 
| 329 | 
            -
            dependencies = [
         | 
| 330 | 
            -
             "cbindgen",
         | 
| 331 | 
            -
             "libc",
         | 
| 332 | 
            -
            ]
         | 
| 333 | 
            -
             | 
| 334 | 
            -
            [[package]]
         | 
| 335 | 
            -
            name = "toml"
         | 
| 336 | 
            -
            version = "0.5.11"
         | 
| 337 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 338 | 
            -
            checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
         | 
| 339 | 
            -
            dependencies = [
         | 
| 340 | 
            -
             "serde",
         | 
| 341 | 
            -
            ]
         | 
| 342 | 
            -
             | 
| 343 | 
            -
            [[package]]
         | 
| 344 | 
            -
            name = "unicode-ident"
         | 
| 345 | 
            -
            version = "1.0.10"
         | 
| 346 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 347 | 
            -
            checksum = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73"
         | 
| 348 | 
            -
             | 
| 349 | 
            -
            [[package]]
         | 
| 350 | 
            -
            name = "unicode-segmentation"
         | 
| 351 | 
            -
            version = "1.10.1"
         | 
| 352 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 353 | 
            -
            checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
         | 
| 354 | 
            -
             | 
| 355 | 
            -
            [[package]]
         | 
| 356 | 
            -
            name = "unicode-width"
         | 
| 357 | 
            -
            version = "0.1.10"
         | 
| 358 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 359 | 
            -
            checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
         | 
| 360 | 
            -
             | 
| 361 | 
            -
            [[package]]
         | 
| 362 | 
            -
            name = "vec_map"
         | 
| 363 | 
            -
            version = "0.8.2"
         | 
| 364 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 365 | 
            -
            checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
         | 
| 366 | 
            -
             | 
| 367 | 
            -
            [[package]]
         | 
| 368 | 
            -
            name = "winapi"
         | 
| 369 | 
            -
            version = "0.3.9"
         | 
| 370 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 371 | 
            -
            checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
         | 
| 372 | 
            -
            dependencies = [
         | 
| 373 | 
            -
             "winapi-i686-pc-windows-gnu",
         | 
| 374 | 
            -
             "winapi-x86_64-pc-windows-gnu",
         | 
| 375 | 
            -
            ]
         | 
| 376 | 
            -
             | 
| 377 | 
            -
            [[package]]
         | 
| 378 | 
            -
            name = "winapi-i686-pc-windows-gnu"
         | 
| 379 | 
            -
            version = "0.4.0"
         | 
| 380 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 381 | 
            -
            checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
         | 
| 382 | 
            -
             | 
| 383 | 
            -
            [[package]]
         | 
| 384 | 
            -
            name = "winapi-x86_64-pc-windows-gnu"
         | 
| 385 | 
            -
            version = "0.4.0"
         | 
| 386 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 387 | 
            -
            checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
         | 
| 388 | 
            -
             | 
| 389 | 
            -
            [[package]]
         | 
| 390 | 
            -
            name = "windows-sys"
         | 
| 391 | 
            -
            version = "0.48.0"
         | 
| 392 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 393 | 
            -
            checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
         | 
| 394 | 
            -
            dependencies = [
         | 
| 395 | 
            -
             "windows-targets",
         | 
| 396 | 
            -
            ]
         | 
| 397 | 
            -
             | 
| 398 | 
            -
            [[package]]
         | 
| 399 | 
            -
            name = "windows-targets"
         | 
| 400 | 
            -
            version = "0.48.1"
         | 
| 401 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 402 | 
            -
            checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f"
         | 
| 403 | 
            -
            dependencies = [
         | 
| 404 | 
            -
             "windows_aarch64_gnullvm",
         | 
| 405 | 
            -
             "windows_aarch64_msvc",
         | 
| 406 | 
            -
             "windows_i686_gnu",
         | 
| 407 | 
            -
             "windows_i686_msvc",
         | 
| 408 | 
            -
             "windows_x86_64_gnu",
         | 
| 409 | 
            -
             "windows_x86_64_gnullvm",
         | 
| 410 | 
            -
             "windows_x86_64_msvc",
         | 
| 411 | 
            -
            ]
         | 
| 412 | 
            -
             | 
| 413 | 
            -
            [[package]]
         | 
| 414 | 
            -
            name = "windows_aarch64_gnullvm"
         | 
| 415 | 
            -
            version = "0.48.0"
         | 
| 416 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 417 | 
            -
            checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
         | 
| 418 | 
            -
             | 
| 419 | 
            -
            [[package]]
         | 
| 420 | 
            -
            name = "windows_aarch64_msvc"
         | 
| 421 | 
            -
            version = "0.48.0"
         | 
| 422 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 423 | 
            -
            checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
         | 
| 424 | 
            -
             | 
| 425 | 
            -
            [[package]]
         | 
| 426 | 
            -
            name = "windows_i686_gnu"
         | 
| 427 | 
            -
            version = "0.48.0"
         | 
| 428 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 429 | 
            -
            checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
         | 
| 430 | 
            -
             | 
| 431 | 
            -
            [[package]]
         | 
| 432 | 
            -
            name = "windows_i686_msvc"
         | 
| 433 | 
            -
            version = "0.48.0"
         | 
| 434 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 435 | 
            -
            checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
         | 
| 436 | 
            -
             | 
| 437 | 
            -
            [[package]]
         | 
| 438 | 
            -
            name = "windows_x86_64_gnu"
         | 
| 439 | 
            -
            version = "0.48.0"
         | 
| 440 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 441 | 
            -
            checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
         | 
| 442 | 
            -
             | 
| 443 | 
            -
            [[package]]
         | 
| 444 | 
            -
            name = "windows_x86_64_gnullvm"
         | 
| 445 | 
            -
            version = "0.48.0"
         | 
| 446 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 447 | 
            -
            checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
         | 
| 448 | 
            -
             | 
| 449 | 
            -
            [[package]]
         | 
| 450 | 
            -
            name = "windows_x86_64_msvc"
         | 
| 451 | 
            -
            version = "0.48.0"
         | 
| 452 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 453 | 
            -
            checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
         | 
    
        data/scripts/docker.sh
    DELETED
    
    | @@ -1,23 +0,0 @@ | |
| 1 | 
            -
            #!/bin/bash
         | 
| 2 | 
            -
            set -ex
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            if [ "${BUILD_ARCH}" != "manylinux2010_x86_64" ] && [ "${BUILD_ARCH}" != "manylinux2014_aarch64" ];
         | 
| 5 | 
            -
            then
         | 
| 6 | 
            -
              echo set BUILD_ARCH to one of manylinux2010_x86_64 or manylinux2014_aarch64
         | 
| 7 | 
            -
              exit 239
         | 
| 8 | 
            -
            fi
         | 
| 9 | 
            -
             | 
| 10 | 
            -
            BUILD_DIR="/work"
         | 
| 11 | 
            -
            MANYLINUX_PREFIX=pyroscope/rust_builder
         | 
| 12 | 
            -
             | 
| 13 | 
            -
            docker run \
         | 
| 14 | 
            -
                    -w /work/pyroscope_ffi/ruby/elflib/rbspy \
         | 
| 15 | 
            -
                    -v `pwd`:/work \
         | 
| 16 | 
            -
                    ${MANYLINUX_PREFIX}_${BUILD_ARCH} \
         | 
| 17 | 
            -
                    sh manylinux.sh
         | 
| 18 | 
            -
             | 
| 19 | 
            -
            docker run \
         | 
| 20 | 
            -
                    -w /work/pyroscope_ffi/ruby/elflib/thread_id \
         | 
| 21 | 
            -
                    -v `pwd`:/work \
         | 
| 22 | 
            -
                    ${MANYLINUX_PREFIX}_${BUILD_ARCH} \
         | 
| 23 | 
            -
                    sh manylinux.sh
         | 
    
        data/scripts/tests/test.rb
    DELETED
    
    | @@ -1,59 +0,0 @@ | |
| 1 | 
            -
            #!/usr/bin/env ruby
         | 
| 2 | 
            -
             | 
| 3 | 
            -
            require "pyroscope"
         | 
| 4 | 
            -
            require "pyroscope/version"
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            puts Pyroscope::VERSION
         | 
| 7 | 
            -
            puts RUBY_VERSION
         | 
| 8 | 
            -
             | 
| 9 | 
            -
            Pyroscope.configure do |config|
         | 
| 10 | 
            -
              config.application_name = "#{ENV["PYROSCOPE_RUN_ID"]}"
         | 
| 11 | 
            -
              config.server_address = "https://ingest.pyroscope.cloud"
         | 
| 12 | 
            -
              config.auth_token = ENV["PYROSCOPE_API_TOKEN"]
         | 
| 13 | 
            -
              config.detect_subprocesses = ENV["PYROSCOPE_DETECT_SUBPROCESSES"] == "1"
         | 
| 14 | 
            -
              config.oncpu = ENV["PYROSCOPE_ONCPU"] == "1"
         | 
| 15 | 
            -
              config.log_level = "trace"
         | 
| 16 | 
            -
              config.report_pid = true
         | 
| 17 | 
            -
              config.report_thread_id = true
         | 
| 18 | 
            -
              config.tags = {
         | 
| 19 | 
            -
                :region => "us-east",
         | 
| 20 | 
            -
                :detect_subprocesses => ENV["PYROSCOPE_DETECT_SUBPROCESSES"],
         | 
| 21 | 
            -
                :oncpu => ENV["PYROSCOPE_ONCPU"],
         | 
| 22 | 
            -
                :version => ENV["RUBY_VERSION"],
         | 
| 23 | 
            -
                :arch => ENV["PYROSCOPE_ARCH"]
         | 
| 24 | 
            -
              }
         | 
| 25 | 
            -
            end
         | 
| 26 | 
            -
             | 
| 27 | 
            -
            def work(n)
         | 
| 28 | 
            -
              i = 0
         | 
| 29 | 
            -
              while i < n
         | 
| 30 | 
            -
                i += 1
         | 
| 31 | 
            -
              end
         | 
| 32 | 
            -
            end
         | 
| 33 | 
            -
             | 
| 34 | 
            -
            def fast_function
         | 
| 35 | 
            -
              Pyroscope.tag_wrapper({"function": "fast"}) do
         | 
| 36 | 
            -
                work(2001002000)
         | 
| 37 | 
            -
              end
         | 
| 38 | 
            -
            end
         | 
| 39 | 
            -
             | 
| 40 | 
            -
            def slow_function
         | 
| 41 | 
            -
              work(8001008000)
         | 
| 42 | 
            -
            end
         | 
| 43 | 
            -
             | 
| 44 | 
            -
            child_pid = fork do
         | 
| 45 | 
            -
              puts "This is the child process"
         | 
| 46 | 
            -
              Pyroscope.tag_wrapper({"fork": "forked"}) do
         | 
| 47 | 
            -
                slow_function()
         | 
| 48 | 
            -
              end
         | 
| 49 | 
            -
            end
         | 
| 50 | 
            -
             | 
| 51 | 
            -
            puts "This is the master process."
         | 
| 52 | 
            -
             | 
| 53 | 
            -
            Pyroscope.tag_wrapper({"fork": "master"}) do
         | 
| 54 | 
            -
              fast_function()
         | 
| 55 | 
            -
            end
         | 
| 56 | 
            -
             | 
| 57 | 
            -
            puts "The PID of the child process is #{child_pid}"
         | 
| 58 | 
            -
             | 
| 59 | 
            -
            Pyroscope.shutdown()
         |