Sha256: 795da5560b3c77b96cefdb9a1d83d468fea60672a826e2487924f5f7526ee75a

Contents?: true

Size: 883 Bytes

Versions: 1

Compression:

Stored size: 883 Bytes

Contents

motion-dtrace
=============

Proof of concept to use dtrace on rubymotion.

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'
```

2. Start simulator process:

```
rake
```

3. 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
------

- [MacRuby DTrace examples](https://github.com/MacRuby/MacRuby/tree/master/sample-macruby/DTrace)
- [Using the DTrace](http://watson1978.github.com/MacRuby-DoJo/blog/2012/04/15/dtrace/)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motion-dtrace-0.1.0 README.md