aboutsummaryrefslogtreecommitdiffstats
path: root/probes.d
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-10 05:11:56 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-10 05:11:56 +0000
commitc38469f453d8857f56ab18ad7cf2c2507558bcd8 (patch)
tree8e44e12ae46c08ec4c3a1c3bde4ba2bd1ce9f4d4 /probes.d
parentc6c0d09aa6789ae2ec43f89c08e11d3dd108ec23 (diff)
downloadruby-c38469f453d8857f56ab18ad7cf2c2507558bcd8.tar.gz
* probes.d (symbol-create): change argument name `string' to
`str'. `string' is a keyword for systemtap. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'probes.d')
-rw-r--r--probes.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/probes.d b/probes.d
index 4c36e03fbd..89c254ca6f 100644
--- a/probes.d
+++ b/probes.d
@@ -151,15 +151,15 @@ provider ruby {
probe string__create(long length, const char *filename, int lineno);
/*
- ruby:::symbol-create(string, filename, lineno);
+ ruby:::symbol-create(str, filename, lineno);
This probe is fired when a Symbol is about to be allocated.
- * `string` the contents of the symbol (string)
+ * `str` 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 *string, const char *filename, int lineno);
+ probe symbol__create(const char *str, const char *filename, int lineno);
/*
ruby:::parse-begin(sourcefile, lineno);