Sha256: a9cf0aa275ff8676b46bce5a89ec645979782913803e5de5fb52ac1ac4728ea4

Contents?: true

Size: 695 Bytes

Versions: 8

Compression:

Stored size: 695 Bytes

Contents

#pragma once

#include <datadog/profiling.h>

#include "stack_recorder.h"

#define MAX_FRAMES_LIMIT            10000
#define MAX_FRAMES_LIMIT_AS_STRING "10000"

typedef struct sampling_buffer sampling_buffer;

void sample_thread(
  VALUE thread,
  sampling_buffer* buffer,
  VALUE recorder_instance,
  sample_values values,
  sample_labels labels
);
void record_placeholder_stack(
  VALUE recorder_instance,
  sample_values values,
  sample_labels labels,
  ddog_CharSlice placeholder_stack
);
uint16_t sampling_buffer_check_max_frames(int max_frames);
sampling_buffer *sampling_buffer_new(uint16_t max_frames, ddog_prof_Location *locations);
void sampling_buffer_free(sampling_buffer *buffer);

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog-2.9.0 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.8.0 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.7.1 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.7.0 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.6.0 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.5.0 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.4.0 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.3.0 ext/datadog_profiling_native_extension/collectors_stack.h