Ruby: rb_tp_struct Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
rb_tp_struct Struct Reference

## Data Fields
rb_event_flag_t | events
int | tracing
rb_thread_t * | target_th
VALUE | local_target_set
void(* | func )(VALUE tpval, void *data)
void * | data
VALUE | proc
rb_ractor_t * | ractor
VALUE | self

## Detailed Description

Definition at line 701 of file vm_trace.c.

## Field Documentation

## ◆ data

void* rb_tp_struct::data

Definition at line 710 of file vm_trace.c.

## ◆ events

rb_event_flag_t rb_tp_struct::events

Definition at line 702 of file vm_trace.c.

Referenced by rb_hook_list_connect_tracepoint(), and rb_tracepoint_enable().

## ◆ func

void(* rb_tp_struct::func) (VALUE tpval, void *data)

Definition at line 709 of file vm_trace.c.

## ◆ local_target_set

VALUE rb_tp_struct::local_target_set

Definition at line 705 of file vm_trace.c.

Referenced by rb_tracepoint_disable(), and rb_tracepoint_enable().

## ◆ proc

VALUE rb_tp_struct::proc

Definition at line 711 of file vm_trace.c.

## ◆ ractor

rb_ractor_t* rb_tp_struct::ractor

Definition at line 712 of file vm_trace.c.

## ◆ self

VALUE rb_tp_struct::self

Definition at line 713 of file vm_trace.c.

## ◆ target_th

rb_thread_t* rb_tp_struct::target_th

Definition at line 704 of file vm_trace.c.

Referenced by rb_tracepoint_disable(), and rb_tracepoint_enable().

## ◆ tracing

int rb_tp_struct::tracing

Definition at line 703 of file vm_trace.c.

Referenced by rb_tracepoint_disable(), rb_tracepoint_enable(), and rb_tracepoint_enabled_p().

The documentation for this struct was generated from the following file:

- vm_trace.c