stackprofx 0.2.7 → 0.2.9
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.lock +1 -1
- data/ext/extconf.rb +2 -1
- data/ext/stackprofx.c +5 -1
- data/stackprofx.gemspec +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5268a99f273f914fdce6760bdd997e2df573fab9
|
|
4
|
+
data.tar.gz: 0322383d93ba46356fa710bfcd0e31f514877e93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67d71b512f6d263e353f55bc2fae79f757894819356c59b26619db1732a58436ab5a9fa0b2a003f2a02e13c378c361843aa6930b4cf68f27f8187de0e83fc811
|
|
7
|
+
data.tar.gz: d51ef73516992cff4888078314fe409394c109401538c84801c532ad4b1e39a5522dee5a5d493fae912dbd2a6c7c54526ea00bf725e7a2673372ccb62849b8ba
|
data/Gemfile.lock
CHANGED
data/ext/extconf.rb
CHANGED
|
@@ -4,7 +4,8 @@ if have_func('rb_postponed_job_register_one') &&
|
|
|
4
4
|
have_func('rb_tracepoint_new') &&
|
|
5
5
|
have_const('RUBY_INTERNAL_EVENT_NEWOBJ')
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
ext_path = File.expand_path '../ruby_headers/215', __FILE__
|
|
8
|
+
$CFLAGS += " -I#{ext_path}"
|
|
8
9
|
create_makefile('stackprofx')
|
|
9
10
|
else
|
|
10
11
|
fail 'missing API: are you using ruby 2.1+?'
|
data/ext/stackprofx.c
CHANGED
|
@@ -170,7 +170,11 @@ stackprofx_stop(VALUE self)
|
|
|
170
170
|
return Qfalse;
|
|
171
171
|
_stackprofx.running = 0;
|
|
172
172
|
|
|
173
|
-
|
|
173
|
+
if (_stackprofx.threads)
|
|
174
|
+
{
|
|
175
|
+
st_free_table(_stackprofx.threads);
|
|
176
|
+
_stackprofx.threads = 0;
|
|
177
|
+
}
|
|
174
178
|
|
|
175
179
|
if (_stackprofx.mode == sym_object) {
|
|
176
180
|
rb_tracepoint_disable(objtracer);
|
data/stackprofx.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'stackprofx'
|
|
3
|
-
s.version = '0.2.
|
|
4
|
-
s.homepage = '
|
|
3
|
+
s.version = '0.2.9'
|
|
4
|
+
s.homepage = 'https://github.com/glassechidna/stackprofx'
|
|
5
5
|
|
|
6
6
|
s.authors = ['Aman Gupta', 'Aidan Steele']
|
|
7
7
|
s.email = ['aman@tmm1.net', 'aidan.steele@glassechidna.com.au']
|
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
s.extensions = 'ext/extconf.rb'
|
|
11
11
|
|
|
12
12
|
s.summary = 'fork of sampling callstack-profiler for ruby 2.1+'
|
|
13
|
-
s.description = 'stackprofx is a hacky derivative of stackprof, the sampling profiler for Ruby 2
|
|
13
|
+
s.description = 'stackprofx is a hacky derivative of stackprof, the sampling profiler for Ruby 2.1+.'
|
|
14
14
|
|
|
15
15
|
s.license = 'MIT'
|
|
16
16
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stackprofx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aman Gupta
|
|
@@ -54,7 +54,7 @@ dependencies:
|
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
55
|
version: '5.0'
|
|
56
56
|
description: stackprofx is a hacky derivative of stackprof, the sampling profiler
|
|
57
|
-
for Ruby 2
|
|
57
|
+
for Ruby 2.1+.
|
|
58
58
|
email:
|
|
59
59
|
- aman@tmm1.net
|
|
60
60
|
- aidan.steele@glassechidna.com.au
|
|
@@ -85,7 +85,7 @@ files:
|
|
|
85
85
|
- sample.rb
|
|
86
86
|
- stackprofx.gemspec
|
|
87
87
|
- test/test_stackprofx.rb
|
|
88
|
-
homepage:
|
|
88
|
+
homepage: https://github.com/glassechidna/stackprofx
|
|
89
89
|
licenses:
|
|
90
90
|
- MIT
|
|
91
91
|
metadata: {}
|