motion-dtrace

Proof of concept to use dtrace on rubymotion. Check the demo at You Tube.

Installation

gem install motion-dtrace

Usage

  1. Edit the Rakefile of your RubyMotion project and add the following require line.
require 'rubygems'
require 'motion-dtrace'
  1. Start simulator process:
rake
  1. On another terminal, start dtrace:
rake dtrace

You may specify your own dtrace file via:

rake dtrace DTRACE=/Users/siuying/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.

Credit