Sha256: e084e9a072505ce7fd4277af7fb32599412a6f89cc911a30c6072ce63312e6f6

Contents?: true

Size: 636 Bytes

Versions: 13

Compression:

Stored size: 636 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(
  sampling_buffer* buffer,
  VALUE recorder_instance,
  sample_values values,
  sample_labels labels,
  ddog_CharSlice placeholder_stack
);
sampling_buffer *sampling_buffer_new(unsigned int max_frames);
void sampling_buffer_free(sampling_buffer *buffer);

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
datadog-2.2.0 ext/datadog_profiling_native_extension/collectors_stack.h
ddtrace-1.23.3 ext/datadog_profiling_native_extension/collectors_stack.h
ddtrace-1.23.2 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.1.0 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.0.0 ext/datadog_profiling_native_extension/collectors_stack.h
ddtrace-1.23.1 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.0.0.beta2 ext/datadog_profiling_native_extension/collectors_stack.h
ddtrace-1.22.0 ext/datadog_profiling_native_extension/collectors_stack.h
datadog-2.0.0.beta1 ext/datadog_profiling_native_extension/collectors_stack.h
ddtrace-1.21.1 ext/datadog_profiling_native_extension/collectors_stack.h
ddtrace-1.21.0 ext/datadog_profiling_native_extension/collectors_stack.h
ddtrace-1.20.0 ext/ddtrace_profiling_native_extension/collectors_stack.h
ddtrace-1.19.0 ext/ddtrace_profiling_native_extension/collectors_stack.h