Sha256: 182d1fd0d82c14fdc43f8ecb42ce05239a6a7a53e8262b84147317579ffa9403

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

#pragma once

#include <datadog/profiling.h>

typedef struct sampling_buffer sampling_buffer;

typedef enum { SAMPLE_REGULAR, SAMPLE_IN_GC } sample_type;

void sample_thread(
  VALUE thread,
  sampling_buffer* buffer,
  VALUE recorder_instance,
  ddog_Slice_I64 metric_values,
  ddog_prof_Slice_Label labels,
  sample_type type
);
sampling_buffer *sampling_buffer_new(unsigned int max_frames);
void sampling_buffer_free(sampling_buffer *buffer);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ddtrace-1.9.0 ext/ddtrace_profiling_native_extension/collectors_stack.h