rbbcc 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rbbcc/bcc.rb +8 -8
- data/lib/rbbcc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebc0f160a61c94cd58882b81c3c58ecc99dfb6317e407cec2dc762c4babc3889
|
4
|
+
data.tar.gz: 36aead215ae4146d841f787939432a7cdb12cb4ad7487c92dd2044b9c5123b47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84fe74378f90debecf862251d74b356dc8dde3f1a16da540bdca0255af8b2c7037053a78e0e1abc886014ee481a0320af05eda715976a774bd79dcd7d6d15b47
|
7
|
+
data.tar.gz: 91f4de3770052fc2cd23406f41aaef3796facd018d4d746828532b17ccb00acb75f3b38a08920a2ec446381e16cf7642f6331410db8a05f0098fed6834e971ab
|
data/Gemfile.lock
CHANGED
data/lib/rbbcc/bcc.rb
CHANGED
@@ -218,18 +218,18 @@ module RbBCC
|
|
218
218
|
text = code + text
|
219
219
|
end
|
220
220
|
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
221
|
+
|
222
|
+
cflags_safe = if cflags.empty? or !cflags[-1].nil?
|
223
|
+
cflags + [nil]
|
224
|
+
else
|
225
|
+
cflags
|
226
|
+
end
|
227
227
|
|
228
228
|
@module = Clib.bpf_module_create_c_from_string(
|
229
229
|
text,
|
230
230
|
debug,
|
231
|
-
|
232
|
-
|
231
|
+
cflags_safe.pack("p*"),
|
232
|
+
cflags_safe.size,
|
233
233
|
allow_rlimit
|
234
234
|
)
|
235
235
|
end
|
data/lib/rbbcc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbcc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uchio Kondo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: BCC port for MRI. See https://github.com/iovisor/bcc
|
14
14
|
email:
|