aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--probes.d6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c61d91f21a..443934e0b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 6 03:27:43 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * probes.d (symbol-create): change argument name `string' to
+ `str'. `string' is a keyword for systemtap.
+
Tue Mar 5 22:23:01 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* probes.d: added argument name
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);