motion-dtrace
Proof of concept to use dtrace on rubymotion. Check the demo at You Tube.
Installation
gem install motion-dtrace
Usage
- Edit the Rakefile of your RubyMotion project and add the following require line.
require 'rubygems'
require 'motion-dtrace'
- Start simulator process:
rake
- On another terminal, start dtrace:
rake dtrace
You may specify your own dtrace file via:
rake dtrace DTRACE=/Users/s/Documents/workspace/motion/motion-dtrace/dtrace/methods_duration.d
TODO
Currently this gem is just a hack to simplify command lines.
We shall investigate can we do real integration with project.