Skip to content

Commit

Permalink
more exports needed for ruby-prof
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kaes committed Sep 18, 2012
1 parent e4abbcd commit 2969a4c
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
@@ -0,0 +1,84 @@
diff --git a/gc.c b/gc.c
index 18ffbde..cc14159 100644
--- a/gc.c
+++ b/gc.c
@@ -1035,6 +1035,7 @@ ruby_xfree(void *x)
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_enable(void)
{
@@ -1057,6 +1058,7 @@ rb_gc_enable(void)
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_disable(void)
{
@@ -1079,6 +1081,7 @@ rb_gc_disable(void)
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_enable_stats()
{
@@ -1100,6 +1103,7 @@ rb_gc_enable_stats()
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_disable_stats()
{
@@ -1119,6 +1123,7 @@ rb_gc_disable_stats()
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_stats_enabled()
{
@@ -1138,6 +1143,7 @@ rb_gc_stats_enabled()
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_clear_stats()
{
@@ -1208,6 +1214,7 @@ rb_gc_num_allocations()
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_enable_trace()
{
@@ -1229,6 +1236,7 @@ rb_gc_enable_trace()
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_disable_trace()
{
@@ -1248,6 +1256,7 @@ rb_gc_disable_trace()
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_trace_enabled()
{
@@ -1276,6 +1285,7 @@ const char* GC_LOGFILE_IVAR = "@gc_logfile_name";
*
*/

+RUBY_FUNC_EXPORTED
VALUE
rb_gc_log_file(int argc, VALUE *argv, VALUE self)
{
1 change: 1 addition & 0 deletions patchsets/ruby/1.9.3/p194/railsexpress
Expand Up @@ -5,3 +5,4 @@ railsexpress/04-display-more-detailed-stack-trace.patch
railsexpress/05-fork-support-for-gc-logging.patch
railsexpress/06-track-live-dataset-size.patch
railsexpress/07-webrick_204_304_keep_alive_fix.patch
railsexpress/08-export-a-few-more-symbols-for-ruby-prof.patch

0 comments on commit 2969a4c

Please sign in to comment.