XRay 1.0 → 1.0.1

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: XRay
3
3
  version: !ruby/object:Gem::Version
4
- version: "1.0"
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philippe Hanrigou
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-03-28 00:00:00 -07:00
12
+ date: 2008-04-20 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -28,7 +28,6 @@ files:
28
28
  - lib/xray/dtrace/tracer.rb
29
29
  - lib/xray/enable_thread_aware_dispatcher.rb
30
30
  - lib/xray/rails_stack_signal_handler.rb
31
- - lib/xray/signal_handler.rb
32
31
  - lib/xray/thread_aware_dispatcher.rb
33
32
  - lib/xray/xray.rb
34
33
  - test/all_tests.rb
@@ -37,6 +36,10 @@ files:
37
36
  - test/test_helper.rb
38
37
  - test/unit/thread_aware_dispatcher_test.rb
39
38
  - test/unit/xray/dtrace/tracer_test.rb
39
+ - application-probes.d
40
+ - patch-for-dtrace-instrumentation-of-matz-1.8.6-p114.diff
41
+ - patch-for-joyent-mri-1.8.6-on-leopard.diff
42
+ - gdb_macros
40
43
  - README
41
44
  has_rdoc: true
42
45
  homepage: http://xray.rubyforge.com
@@ -1,26 +0,0 @@
1
- #
2
- # Install a signal handler dumping current thread stack
3
- #
4
- # Trigger it with: kill -QUIT <pid>
5
- #
6
- module XRay
7
-
8
- def self.dump_threads
9
- STDERR.puts "=============== XRay Inspector ==============="
10
- STDERR.puts "Current Thread\n "
11
- STDERR.puts caller.join("\n \_ ")
12
- STDERR.puts Thread.current.xray_backtrace.join("\n \_ ")
13
- # STDERR.puts "----------------------------------------------"
14
- # Thread.list.each_with_index do |t,i|
15
- # STDERR.puts "Dumping Thread #{i}\n "
16
- # t.xray_backtrace.join("\n \_ ")
17
- # end
18
- STDERR.puts "=============================================="
19
- STDERR.flush
20
- end
21
-
22
- end
23
-
24
- trap "QUIT" do
25
- XRay.dump_threads
26
- end