aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/extra/ruby.valgrind
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2005-10-04 02:14:03 +0000
committerN.N. <matju@users.sourceforge.net>2005-10-04 02:14:03 +0000
commita6cd35f9d2f6a9e351fb634bb942b867e384113e (patch)
tree8b0e7e9ffbef6a5f4c94dc462c720b86d1f9e9e1 /externals/gridflow/extra/ruby.valgrind
parenta7dc40f29086515c31667490c03211812b84e2ed (diff)
i'm almost, almost done
svn path=/trunk/; revision=3652
Diffstat (limited to 'externals/gridflow/extra/ruby.valgrind')
-rw-r--r--externals/gridflow/extra/ruby.valgrind82
1 files changed, 82 insertions, 0 deletions
diff --git a/externals/gridflow/extra/ruby.valgrind b/externals/gridflow/extra/ruby.valgrind
new file mode 100644
index 00000000..64603378
--- /dev/null
+++ b/externals/gridflow/extra/ruby.valgrind
@@ -0,0 +1,82 @@
+# From: Tanaka Akira <akr@m17n.org>
+# matz@ruby-lang.org (Yukihiro Matsumoto) writes:
+#
+#> Some reports from valgrind is due to Ruby's conservative GC, which
+#> touch all C stack region.
+#
+#I use following suppression file to suppress such reports.
+
+{
+ memcpy/rb_thread_save_context(Value1)
+ Addr1
+ fun:memcpy
+ fun:rb_thread_save_context
+}
+
+{
+ memcpy/rb_thread_restore_context(Value1)
+ Addr1
+ fun:memcpy
+ fun:rb_thread_restore_context
+}
+
+{
+ strchr/_dl_catch_error(Cond)
+ Cond
+ fun:strchr
+ obj:/lib/libc-2.2.5.so
+ fun:_dl_catch_error
+}
+
+{
+ mark_locations_array(Cond)
+ Cond
+ fun:mark_locations_array
+}
+
+{
+ mark_locations_array(Value4)
+ Value4
+ fun:mark_locations_array
+}
+
+{
+ mark_locations_array(Value4)
+ Addr4
+ fun:mark_locations_array
+}
+
+{
+ rb_gc_mark(Cond)
+ Cond
+ fun:rb_gc_mark
+}
+
+{
+ rb_gc_mark(Value4)
+ Value4
+ fun:rb_gc_mark
+}
+
+{
+ rb_gc_mark_children(Value4)
+ Value4
+ fun:rb_gc_mark_children
+}
+
+{
+ rb_gc_mark_children(Cond)
+ Cond
+ fun:rb_gc_mark_children
+}
+
+#--
+#Tanaka Akira
+
+
+# additional attempt by matju:
+{
+ libc
+ Cond
+ obj:/lib/libc-2.2.5.so
+}