Skip to content

Commit

Permalink
Fix broken profiler build on Ruby < 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Sep 23, 2024
1 parent fb34042 commit f2bc8e9
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ VALUE thread_context_collector_sample_after_gc(VALUE self_instance);
void thread_context_collector_on_gc_start(VALUE self_instance);
__attribute__((warn_unused_result)) bool thread_context_collector_on_gc_finish(VALUE self_instance);
VALUE enforce_thread_context_collector_instance(VALUE object);
void thread_context_collector_on_gvl_waiting(gvl_profiling_thread thread);
__attribute__((warn_unused_result)) bool thread_context_collector_on_gvl_running(gvl_profiling_thread thread);
VALUE thread_context_collector_sample_after_gvl_running(VALUE self_instance);

#ifndef NO_GVL_INSTRUMENTATION
void thread_context_collector_on_gvl_waiting(gvl_profiling_thread thread);
__attribute__((warn_unused_result)) bool thread_context_collector_on_gvl_running(gvl_profiling_thread thread);
VALUE thread_context_collector_sample_after_gvl_running(VALUE self_instance);
#endif

0 comments on commit f2bc8e9

Please sign in to comment.