pyroscope 0.5.7-x86_64-linux → 0.5.8-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd08ebc3665f8eb23d52c710e4f0340dbf55691373c8245eb38145c3c61fce0c
4
- data.tar.gz: 4a827a7cf71f34362834abb7cb0a20fe900b1ccc26fd0acc7b1f5034275953cd
3
+ metadata.gz: 28e448e1add6217b58e5a587c81f6a7f910b5195185a205097f3bcc885d6cb6c
4
+ data.tar.gz: b392cc9facde7b9477e48398dc746ab39663530fb6d3d25f7ea28ab09225bcc2
5
5
  SHA512:
6
- metadata.gz: 5a885b7e69d790ba3606888e2a32ab8c774b247bb0fedad7f5450d53427b875d52d64a68b01ee5d3b195b322506a6612bef5f15bd32a6e6dada89181700c6306
7
- data.tar.gz: 89944475d6905e039fc781ab512786936ecb4942e8c499160953c789947f14cdfbb3b9719ef743e5da2ee2fe5ff47956eb779b8de77f3f8996bd3ee189c4a4bb
6
+ metadata.gz: 3375f3fbd1ce0468b7cadb22f5bd3cee26ade2be85a531857aa27cb2f4c481c61f88a267b175da8cd93b30cdddbb1a34a0f0fd427d398b87b28783ca171092c7
7
+ data.tar.gz: 9bcbe5c38549b8671159df7c2ad63a6788e52119bc3bf52835decdd3f417a5c03fdfb80fd796712690dca6c68d93bddede6d95886ff49c505589e4c81b867dd0
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()
@@ -1,3 +1,3 @@
1
1
  module Pyroscope
2
- VERSION = '0.5.7'.freeze
2
+ VERSION = '0.5.8'.freeze
3
3
  end
data/lib/rbspy/rbspy.so CHANGED
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.8
5
5
  platform: x86_64-linux
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-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi