pyroscope 0.5.7-aarch64-linux → 0.5.8-aarch64-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: 9cc45cfdce4eda225117317df4483a96495cf7af384bf604c524f9276ae07905
4
- data.tar.gz: d7ce4a4ab12329f24971d485ce941d31d2b5a10c41bed046677661ffa2253cea
3
+ metadata.gz: ddc768f1e26e34b3361ffd5990c4e6e72504c76a87125b2091b91ec47488bdfd
4
+ data.tar.gz: 2fe66991a76cd099aa9798b4720f23f082ed6bed4daed44fc7a8bf7b1c4f7530
5
5
  SHA512:
6
- metadata.gz: 5f42768afe95c9ef707192049c88b1d05cc86935f16d887f10635439638471d50164078edde973e3978a2050d5506e1f2fbd39dc59794d6ee998ea92f8c6c3cd
7
- data.tar.gz: 20090fe883b3c50c11787b7cef67e86b65c91f2a8ef3211e05eff392d1cc5f5dcbb878874bc392399589bb9996bdf979b7a5064f141e9f4c61c0ebe252bedda8
6
+ metadata.gz: 833431f0af035b1eb138263e77c267d0689fae3d73501c633159de15bc2f91507186b0c3cb94e4f347b083da5d7ceace821675fd1d0d9ef68a1e84db4fb07465
7
+ data.tar.gz: 7e0300af463a553be025f9be1bd7465efc3cd1fd5bbfa73735b7a31cfca79306fa4d203a27cbc4cf194c2e874182fcc1615c067a9ba458094d94fa5e5828f5c2
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: aarch64-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