From c38469f453d8857f56ab18ad7cf2c2507558bcd8 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sun, 10 Mar 2013 05:11:56 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ probes.d | 6 +++--- 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 + + * 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 * 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);