pyroscope 0.5.7-x86_64-darwin → 0.5.9-x86_64-darwin

Sign up to get free protection for your applications and to get access to all the features.
data/ext/rbspy/src/lib.rs CHANGED
@@ -134,11 +134,16 @@ pub extern "C" fn initialize_agent(
134
134
  .unwrap()
135
135
  .to_string();
136
136
 
137
- let server_address = unsafe { CStr::from_ptr(server_address) }
137
+ let mut server_address = unsafe { CStr::from_ptr(server_address) }
138
138
  .to_str()
139
139
  .unwrap()
140
140
  .to_string();
141
141
 
142
+ let adhoc_server_address = std::env::var("PYROSCOPE_ADHOC_SERVER_ADDRESS");
143
+ if let Ok(adhoc_server_address) = adhoc_server_address {
144
+ server_address = adhoc_server_address
145
+ }
146
+
142
147
  let auth_token = unsafe { CStr::from_ptr(auth_token) }
143
148
  .to_str()
144
149
  .unwrap()
@@ -88,7 +88,7 @@ checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
88
88
  dependencies = [
89
89
  "errno-dragonfly",
90
90
  "libc",
91
- "windows-sys 0.48.0",
91
+ "windows-sys",
92
92
  ]
93
93
 
94
94
  [[package]]
@@ -161,13 +161,13 @@ dependencies = [
161
161
 
162
162
  [[package]]
163
163
  name = "io-lifetimes"
164
- version = "1.0.10"
164
+ version = "1.0.11"
165
165
  source = "registry+https://github.com/rust-lang/crates.io-index"
166
- checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220"
166
+ checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
167
167
  dependencies = [
168
168
  "hermit-abi 0.3.1",
169
169
  "libc",
170
- "windows-sys 0.48.0",
170
+ "windows-sys",
171
171
  ]
172
172
 
173
173
  [[package]]
@@ -178,39 +178,36 @@ checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
178
178
 
179
179
  [[package]]
180
180
  name = "libc"
181
- version = "0.2.144"
181
+ version = "0.2.146"
182
182
  source = "registry+https://github.com/rust-lang/crates.io-index"
183
- checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1"
183
+ checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b"
184
184
 
185
185
  [[package]]
186
186
  name = "linux-raw-sys"
187
- version = "0.3.7"
187
+ version = "0.3.8"
188
188
  source = "registry+https://github.com/rust-lang/crates.io-index"
189
- checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f"
189
+ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
190
190
 
191
191
  [[package]]
192
192
  name = "log"
193
- version = "0.4.17"
193
+ version = "0.4.19"
194
194
  source = "registry+https://github.com/rust-lang/crates.io-index"
195
- checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
196
- dependencies = [
197
- "cfg-if",
198
- ]
195
+ checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
199
196
 
200
197
  [[package]]
201
198
  name = "proc-macro2"
202
- version = "1.0.58"
199
+ version = "1.0.60"
203
200
  source = "registry+https://github.com/rust-lang/crates.io-index"
204
- checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8"
201
+ checksum = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406"
205
202
  dependencies = [
206
203
  "unicode-ident",
207
204
  ]
208
205
 
209
206
  [[package]]
210
207
  name = "quote"
211
- version = "1.0.27"
208
+ version = "1.0.28"
212
209
  source = "registry+https://github.com/rust-lang/crates.io-index"
213
- checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500"
210
+ checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"
214
211
  dependencies = [
215
212
  "proc-macro2",
216
213
  ]
@@ -226,16 +223,16 @@ dependencies = [
226
223
 
227
224
  [[package]]
228
225
  name = "rustix"
229
- version = "0.37.19"
226
+ version = "0.37.20"
230
227
  source = "registry+https://github.com/rust-lang/crates.io-index"
231
- checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d"
228
+ checksum = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0"
232
229
  dependencies = [
233
230
  "bitflags",
234
231
  "errno",
235
232
  "io-lifetimes",
236
233
  "libc",
237
234
  "linux-raw-sys",
238
- "windows-sys 0.48.0",
235
+ "windows-sys",
239
236
  ]
240
237
 
241
238
  [[package]]
@@ -246,29 +243,29 @@ checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"
246
243
 
247
244
  [[package]]
248
245
  name = "serde"
249
- version = "1.0.163"
246
+ version = "1.0.164"
250
247
  source = "registry+https://github.com/rust-lang/crates.io-index"
251
- checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2"
248
+ checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d"
252
249
  dependencies = [
253
250
  "serde_derive",
254
251
  ]
255
252
 
256
253
  [[package]]
257
254
  name = "serde_derive"
258
- version = "1.0.163"
255
+ version = "1.0.164"
259
256
  source = "registry+https://github.com/rust-lang/crates.io-index"
260
- checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e"
257
+ checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68"
261
258
  dependencies = [
262
259
  "proc-macro2",
263
260
  "quote",
264
- "syn 2.0.16",
261
+ "syn 2.0.18",
265
262
  ]
266
263
 
267
264
  [[package]]
268
265
  name = "serde_json"
269
- version = "1.0.96"
266
+ version = "1.0.97"
270
267
  source = "registry+https://github.com/rust-lang/crates.io-index"
271
- checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1"
268
+ checksum = "bdf3bf93142acad5821c99197022e170842cdbc1c30482b98750c688c640842a"
272
269
  dependencies = [
273
270
  "itoa",
274
271
  "ryu",
@@ -294,9 +291,9 @@ dependencies = [
294
291
 
295
292
  [[package]]
296
293
  name = "syn"
297
- version = "2.0.16"
294
+ version = "2.0.18"
298
295
  source = "registry+https://github.com/rust-lang/crates.io-index"
299
- checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01"
296
+ checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e"
300
297
  dependencies = [
301
298
  "proc-macro2",
302
299
  "quote",
@@ -305,15 +302,16 @@ dependencies = [
305
302
 
306
303
  [[package]]
307
304
  name = "tempfile"
308
- version = "3.5.0"
305
+ version = "3.6.0"
309
306
  source = "registry+https://github.com/rust-lang/crates.io-index"
310
- checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998"
307
+ checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6"
311
308
  dependencies = [
309
+ "autocfg",
312
310
  "cfg-if",
313
311
  "fastrand",
314
312
  "redox_syscall",
315
313
  "rustix",
316
- "windows-sys 0.45.0",
314
+ "windows-sys",
317
315
  ]
318
316
 
319
317
  [[package]]
@@ -344,9 +342,9 @@ dependencies = [
344
342
 
345
343
  [[package]]
346
344
  name = "unicode-ident"
347
- version = "1.0.8"
345
+ version = "1.0.9"
348
346
  source = "registry+https://github.com/rust-lang/crates.io-index"
349
- checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
347
+ checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0"
350
348
 
351
349
  [[package]]
352
350
  name = "unicode-segmentation"
@@ -388,37 +386,13 @@ version = "0.4.0"
388
386
  source = "registry+https://github.com/rust-lang/crates.io-index"
389
387
  checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
390
388
 
391
- [[package]]
392
- name = "windows-sys"
393
- version = "0.45.0"
394
- source = "registry+https://github.com/rust-lang/crates.io-index"
395
- checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
396
- dependencies = [
397
- "windows-targets 0.42.2",
398
- ]
399
-
400
389
  [[package]]
401
390
  name = "windows-sys"
402
391
  version = "0.48.0"
403
392
  source = "registry+https://github.com/rust-lang/crates.io-index"
404
393
  checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
405
394
  dependencies = [
406
- "windows-targets 0.48.0",
407
- ]
408
-
409
- [[package]]
410
- name = "windows-targets"
411
- version = "0.42.2"
412
- source = "registry+https://github.com/rust-lang/crates.io-index"
413
- checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
414
- dependencies = [
415
- "windows_aarch64_gnullvm 0.42.2",
416
- "windows_aarch64_msvc 0.42.2",
417
- "windows_i686_gnu 0.42.2",
418
- "windows_i686_msvc 0.42.2",
419
- "windows_x86_64_gnu 0.42.2",
420
- "windows_x86_64_gnullvm 0.42.2",
421
- "windows_x86_64_msvc 0.42.2",
395
+ "windows-targets",
422
396
  ]
423
397
 
424
398
  [[package]]
@@ -427,93 +401,51 @@ version = "0.48.0"
427
401
  source = "registry+https://github.com/rust-lang/crates.io-index"
428
402
  checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"
429
403
  dependencies = [
430
- "windows_aarch64_gnullvm 0.48.0",
431
- "windows_aarch64_msvc 0.48.0",
432
- "windows_i686_gnu 0.48.0",
433
- "windows_i686_msvc 0.48.0",
434
- "windows_x86_64_gnu 0.48.0",
435
- "windows_x86_64_gnullvm 0.48.0",
436
- "windows_x86_64_msvc 0.48.0",
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",
437
411
  ]
438
412
 
439
- [[package]]
440
- name = "windows_aarch64_gnullvm"
441
- version = "0.42.2"
442
- source = "registry+https://github.com/rust-lang/crates.io-index"
443
- checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
444
-
445
413
  [[package]]
446
414
  name = "windows_aarch64_gnullvm"
447
415
  version = "0.48.0"
448
416
  source = "registry+https://github.com/rust-lang/crates.io-index"
449
417
  checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
450
418
 
451
- [[package]]
452
- name = "windows_aarch64_msvc"
453
- version = "0.42.2"
454
- source = "registry+https://github.com/rust-lang/crates.io-index"
455
- checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
456
-
457
419
  [[package]]
458
420
  name = "windows_aarch64_msvc"
459
421
  version = "0.48.0"
460
422
  source = "registry+https://github.com/rust-lang/crates.io-index"
461
423
  checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
462
424
 
463
- [[package]]
464
- name = "windows_i686_gnu"
465
- version = "0.42.2"
466
- source = "registry+https://github.com/rust-lang/crates.io-index"
467
- checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
468
-
469
425
  [[package]]
470
426
  name = "windows_i686_gnu"
471
427
  version = "0.48.0"
472
428
  source = "registry+https://github.com/rust-lang/crates.io-index"
473
429
  checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
474
430
 
475
- [[package]]
476
- name = "windows_i686_msvc"
477
- version = "0.42.2"
478
- source = "registry+https://github.com/rust-lang/crates.io-index"
479
- checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
480
-
481
431
  [[package]]
482
432
  name = "windows_i686_msvc"
483
433
  version = "0.48.0"
484
434
  source = "registry+https://github.com/rust-lang/crates.io-index"
485
435
  checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
486
436
 
487
- [[package]]
488
- name = "windows_x86_64_gnu"
489
- version = "0.42.2"
490
- source = "registry+https://github.com/rust-lang/crates.io-index"
491
- checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
492
-
493
437
  [[package]]
494
438
  name = "windows_x86_64_gnu"
495
439
  version = "0.48.0"
496
440
  source = "registry+https://github.com/rust-lang/crates.io-index"
497
441
  checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
498
442
 
499
- [[package]]
500
- name = "windows_x86_64_gnullvm"
501
- version = "0.42.2"
502
- source = "registry+https://github.com/rust-lang/crates.io-index"
503
- checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
504
-
505
443
  [[package]]
506
444
  name = "windows_x86_64_gnullvm"
507
445
  version = "0.48.0"
508
446
  source = "registry+https://github.com/rust-lang/crates.io-index"
509
447
  checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
510
448
 
511
- [[package]]
512
- name = "windows_x86_64_msvc"
513
- version = "0.42.2"
514
- source = "registry+https://github.com/rust-lang/crates.io-index"
515
- checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
516
-
517
449
  [[package]]
518
450
  name = "windows_x86_64_msvc"
519
451
  version = "0.48.0"
@@ -1,3 +1,3 @@
1
1
  module Pyroscope
2
- VERSION = '0.5.7'.freeze
2
+ VERSION = '0.5.9'.freeze
3
3
  end
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pyroscope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.9
5
5
  platform: x86_64-darwin
6
6
  authors:
7
7
  - Pyroscope Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-19 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi