pyroscope 0.5.9-aarch64-linux → 0.5.11-aarch64-linux
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 +2 -9
- 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.so +0 -0
- data/lib/thread_id/thread_id.so +0 -0
- data/pyroscope.gemspec +27 -2
- metadata +10 -19
- 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 -2663
- data/ext/thread_id/Cargo.lock +0 -324
- data/scripts/docker.sh +0 -23
- data/scripts/tests/test.rb +0 -59
    
        data/ext/thread_id/Cargo.lock
    DELETED
    
    | @@ -1,324 +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",
         | 
| 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",
         | 
| 52 | 
            -
             "tempfile",
         | 
| 53 | 
            -
             "toml",
         | 
| 54 | 
            -
            ]
         | 
| 55 | 
            -
             | 
| 56 | 
            -
            [[package]]
         | 
| 57 | 
            -
            name = "cfg-if"
         | 
| 58 | 
            -
            version = "1.0.0"
         | 
| 59 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 60 | 
            -
            checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
         | 
| 61 | 
            -
             | 
| 62 | 
            -
            [[package]]
         | 
| 63 | 
            -
            name = "clap"
         | 
| 64 | 
            -
            version = "2.34.0"
         | 
| 65 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 66 | 
            -
            checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
         | 
| 67 | 
            -
            dependencies = [
         | 
| 68 | 
            -
             "ansi_term",
         | 
| 69 | 
            -
             "atty",
         | 
| 70 | 
            -
             "bitflags",
         | 
| 71 | 
            -
             "strsim",
         | 
| 72 | 
            -
             "textwrap",
         | 
| 73 | 
            -
             "unicode-width",
         | 
| 74 | 
            -
             "vec_map",
         | 
| 75 | 
            -
            ]
         | 
| 76 | 
            -
             | 
| 77 | 
            -
            [[package]]
         | 
| 78 | 
            -
            name = "fastrand"
         | 
| 79 | 
            -
            version = "1.9.0"
         | 
| 80 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 81 | 
            -
            checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
         | 
| 82 | 
            -
            dependencies = [
         | 
| 83 | 
            -
             "instant",
         | 
| 84 | 
            -
            ]
         | 
| 85 | 
            -
             | 
| 86 | 
            -
            [[package]]
         | 
| 87 | 
            -
            name = "hashbrown"
         | 
| 88 | 
            -
            version = "0.12.3"
         | 
| 89 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 90 | 
            -
            checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
         | 
| 91 | 
            -
             | 
| 92 | 
            -
            [[package]]
         | 
| 93 | 
            -
            name = "heck"
         | 
| 94 | 
            -
            version = "0.3.3"
         | 
| 95 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 96 | 
            -
            checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
         | 
| 97 | 
            -
            dependencies = [
         | 
| 98 | 
            -
             "unicode-segmentation",
         | 
| 99 | 
            -
            ]
         | 
| 100 | 
            -
             | 
| 101 | 
            -
            [[package]]
         | 
| 102 | 
            -
            name = "hermit-abi"
         | 
| 103 | 
            -
            version = "0.1.19"
         | 
| 104 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 105 | 
            -
            checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
         | 
| 106 | 
            -
            dependencies = [
         | 
| 107 | 
            -
             "libc",
         | 
| 108 | 
            -
            ]
         | 
| 109 | 
            -
             | 
| 110 | 
            -
            [[package]]
         | 
| 111 | 
            -
            name = "indexmap"
         | 
| 112 | 
            -
            version = "1.9.2"
         | 
| 113 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 114 | 
            -
            checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399"
         | 
| 115 | 
            -
            dependencies = [
         | 
| 116 | 
            -
             "autocfg",
         | 
| 117 | 
            -
             "hashbrown",
         | 
| 118 | 
            -
            ]
         | 
| 119 | 
            -
             | 
| 120 | 
            -
            [[package]]
         | 
| 121 | 
            -
            name = "instant"
         | 
| 122 | 
            -
            version = "0.1.12"
         | 
| 123 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 124 | 
            -
            checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
         | 
| 125 | 
            -
            dependencies = [
         | 
| 126 | 
            -
             "cfg-if",
         | 
| 127 | 
            -
            ]
         | 
| 128 | 
            -
             | 
| 129 | 
            -
            [[package]]
         | 
| 130 | 
            -
            name = "itoa"
         | 
| 131 | 
            -
            version = "1.0.5"
         | 
| 132 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 133 | 
            -
            checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440"
         | 
| 134 | 
            -
             | 
| 135 | 
            -
            [[package]]
         | 
| 136 | 
            -
            name = "libc"
         | 
| 137 | 
            -
            version = "0.2.139"
         | 
| 138 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 139 | 
            -
            checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
         | 
| 140 | 
            -
             | 
| 141 | 
            -
            [[package]]
         | 
| 142 | 
            -
            name = "log"
         | 
| 143 | 
            -
            version = "0.4.17"
         | 
| 144 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 145 | 
            -
            checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
         | 
| 146 | 
            -
            dependencies = [
         | 
| 147 | 
            -
             "cfg-if",
         | 
| 148 | 
            -
            ]
         | 
| 149 | 
            -
             | 
| 150 | 
            -
            [[package]]
         | 
| 151 | 
            -
            name = "proc-macro2"
         | 
| 152 | 
            -
            version = "1.0.51"
         | 
| 153 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 154 | 
            -
            checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6"
         | 
| 155 | 
            -
            dependencies = [
         | 
| 156 | 
            -
             "unicode-ident",
         | 
| 157 | 
            -
            ]
         | 
| 158 | 
            -
             | 
| 159 | 
            -
            [[package]]
         | 
| 160 | 
            -
            name = "quote"
         | 
| 161 | 
            -
            version = "1.0.23"
         | 
| 162 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 163 | 
            -
            checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b"
         | 
| 164 | 
            -
            dependencies = [
         | 
| 165 | 
            -
             "proc-macro2",
         | 
| 166 | 
            -
            ]
         | 
| 167 | 
            -
             | 
| 168 | 
            -
            [[package]]
         | 
| 169 | 
            -
            name = "redox_syscall"
         | 
| 170 | 
            -
            version = "0.2.16"
         | 
| 171 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 172 | 
            -
            checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
         | 
| 173 | 
            -
            dependencies = [
         | 
| 174 | 
            -
             "bitflags",
         | 
| 175 | 
            -
            ]
         | 
| 176 | 
            -
             | 
| 177 | 
            -
            [[package]]
         | 
| 178 | 
            -
            name = "remove_dir_all"
         | 
| 179 | 
            -
            version = "0.5.3"
         | 
| 180 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 181 | 
            -
            checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
         | 
| 182 | 
            -
            dependencies = [
         | 
| 183 | 
            -
             "winapi",
         | 
| 184 | 
            -
            ]
         | 
| 185 | 
            -
             | 
| 186 | 
            -
            [[package]]
         | 
| 187 | 
            -
            name = "ryu"
         | 
| 188 | 
            -
            version = "1.0.12"
         | 
| 189 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 190 | 
            -
            checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde"
         | 
| 191 | 
            -
             | 
| 192 | 
            -
            [[package]]
         | 
| 193 | 
            -
            name = "serde"
         | 
| 194 | 
            -
            version = "1.0.152"
         | 
| 195 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 196 | 
            -
            checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb"
         | 
| 197 | 
            -
            dependencies = [
         | 
| 198 | 
            -
             "serde_derive",
         | 
| 199 | 
            -
            ]
         | 
| 200 | 
            -
             | 
| 201 | 
            -
            [[package]]
         | 
| 202 | 
            -
            name = "serde_derive"
         | 
| 203 | 
            -
            version = "1.0.152"
         | 
| 204 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 205 | 
            -
            checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e"
         | 
| 206 | 
            -
            dependencies = [
         | 
| 207 | 
            -
             "proc-macro2",
         | 
| 208 | 
            -
             "quote",
         | 
| 209 | 
            -
             "syn",
         | 
| 210 | 
            -
            ]
         | 
| 211 | 
            -
             | 
| 212 | 
            -
            [[package]]
         | 
| 213 | 
            -
            name = "serde_json"
         | 
| 214 | 
            -
            version = "1.0.93"
         | 
| 215 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 216 | 
            -
            checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76"
         | 
| 217 | 
            -
            dependencies = [
         | 
| 218 | 
            -
             "itoa",
         | 
| 219 | 
            -
             "ryu",
         | 
| 220 | 
            -
             "serde",
         | 
| 221 | 
            -
            ]
         | 
| 222 | 
            -
             | 
| 223 | 
            -
            [[package]]
         | 
| 224 | 
            -
            name = "strsim"
         | 
| 225 | 
            -
            version = "0.8.0"
         | 
| 226 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 227 | 
            -
            checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
         | 
| 228 | 
            -
             | 
| 229 | 
            -
            [[package]]
         | 
| 230 | 
            -
            name = "syn"
         | 
| 231 | 
            -
            version = "1.0.107"
         | 
| 232 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 233 | 
            -
            checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5"
         | 
| 234 | 
            -
            dependencies = [
         | 
| 235 | 
            -
             "proc-macro2",
         | 
| 236 | 
            -
             "quote",
         | 
| 237 | 
            -
             "unicode-ident",
         | 
| 238 | 
            -
            ]
         | 
| 239 | 
            -
             | 
| 240 | 
            -
            [[package]]
         | 
| 241 | 
            -
            name = "tempfile"
         | 
| 242 | 
            -
            version = "3.3.0"
         | 
| 243 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 244 | 
            -
            checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
         | 
| 245 | 
            -
            dependencies = [
         | 
| 246 | 
            -
             "cfg-if",
         | 
| 247 | 
            -
             "fastrand",
         | 
| 248 | 
            -
             "libc",
         | 
| 249 | 
            -
             "redox_syscall",
         | 
| 250 | 
            -
             "remove_dir_all",
         | 
| 251 | 
            -
             "winapi",
         | 
| 252 | 
            -
            ]
         | 
| 253 | 
            -
             | 
| 254 | 
            -
            [[package]]
         | 
| 255 | 
            -
            name = "textwrap"
         | 
| 256 | 
            -
            version = "0.11.0"
         | 
| 257 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 258 | 
            -
            checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
         | 
| 259 | 
            -
            dependencies = [
         | 
| 260 | 
            -
             "unicode-width",
         | 
| 261 | 
            -
            ]
         | 
| 262 | 
            -
             | 
| 263 | 
            -
            [[package]]
         | 
| 264 | 
            -
            name = "thread_id"
         | 
| 265 | 
            -
            version = "0.1.0"
         | 
| 266 | 
            -
            dependencies = [
         | 
| 267 | 
            -
             "cbindgen",
         | 
| 268 | 
            -
             "libc",
         | 
| 269 | 
            -
            ]
         | 
| 270 | 
            -
             | 
| 271 | 
            -
            [[package]]
         | 
| 272 | 
            -
            name = "toml"
         | 
| 273 | 
            -
            version = "0.5.11"
         | 
| 274 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 275 | 
            -
            checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
         | 
| 276 | 
            -
            dependencies = [
         | 
| 277 | 
            -
             "serde",
         | 
| 278 | 
            -
            ]
         | 
| 279 | 
            -
             | 
| 280 | 
            -
            [[package]]
         | 
| 281 | 
            -
            name = "unicode-ident"
         | 
| 282 | 
            -
            version = "1.0.6"
         | 
| 283 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 284 | 
            -
            checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
         | 
| 285 | 
            -
             | 
| 286 | 
            -
            [[package]]
         | 
| 287 | 
            -
            name = "unicode-segmentation"
         | 
| 288 | 
            -
            version = "1.10.1"
         | 
| 289 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 290 | 
            -
            checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
         | 
| 291 | 
            -
             | 
| 292 | 
            -
            [[package]]
         | 
| 293 | 
            -
            name = "unicode-width"
         | 
| 294 | 
            -
            version = "0.1.10"
         | 
| 295 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 296 | 
            -
            checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
         | 
| 297 | 
            -
             | 
| 298 | 
            -
            [[package]]
         | 
| 299 | 
            -
            name = "vec_map"
         | 
| 300 | 
            -
            version = "0.8.2"
         | 
| 301 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 302 | 
            -
            checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
         | 
| 303 | 
            -
             | 
| 304 | 
            -
            [[package]]
         | 
| 305 | 
            -
            name = "winapi"
         | 
| 306 | 
            -
            version = "0.3.9"
         | 
| 307 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 308 | 
            -
            checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
         | 
| 309 | 
            -
            dependencies = [
         | 
| 310 | 
            -
             "winapi-i686-pc-windows-gnu",
         | 
| 311 | 
            -
             "winapi-x86_64-pc-windows-gnu",
         | 
| 312 | 
            -
            ]
         | 
| 313 | 
            -
             | 
| 314 | 
            -
            [[package]]
         | 
| 315 | 
            -
            name = "winapi-i686-pc-windows-gnu"
         | 
| 316 | 
            -
            version = "0.4.0"
         | 
| 317 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 318 | 
            -
            checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
         | 
| 319 | 
            -
             | 
| 320 | 
            -
            [[package]]
         | 
| 321 | 
            -
            name = "winapi-x86_64-pc-windows-gnu"
         | 
| 322 | 
            -
            version = "0.4.0"
         | 
| 323 | 
            -
            source = "registry+https://github.com/rust-lang/crates.io-index"
         | 
| 324 | 
            -
            checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
         | 
    
        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()
         |