diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-16 03:16:05 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-16 03:16:05 +0000 |
commit | 53f97f1c278d2ea22a614682cd47c3ac61e57ef5 (patch) | |
tree | 9a875dca9627b91b989c6f803e44bd81601f3c89 /probes.d | |
parent | 733d65df5e0ca8e415dd87caeb881e074d64f8ee (diff) | |
download | ruby-53f97f1c278d2ea22a614682cd47c3ac61e57ef5.tar.gz |
* parse.y: add dtrace probe for symbol create.
* probes.d: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'probes.d')
-rw-r--r-- | probes.d | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -151,6 +151,17 @@ provider ruby { probe string__create(long, const char *, int); /* + ruby:::symbol-create(string, filename, lineno); + + This probe is fired when a Symbol is about to be allocated. + + * `string` the contents of the symbol (string) + * `filename` the name of the file where the string is allocated (string) + * `lineno` the line number in the file where the string is allocated (int) + */ + probe symbol__create(const char *, const char *, int); + + /* ruby:::parse-begin(sourcefile, lineno); Fired just before parsing and compiling a source file. |