libdd-profiling-heap-sampler 1.1.3

Sampling primitives for USDT-based heap profiling.
Documentation
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
// SPDX-License-Identifier: Apache-2.0
// @generated by libdd-profiling-heap-sampler/build.rs via bindgen; do not edit by hand.
// Regenerate with: LIBDD_PROFILING_HEAP_SAMPLER_REGEN=1 cargo build -p libdd-profiling-heap-sampler

#include "include/datadog/heap/allocation_requested.h"
#include "include/datadog/heap/allocation_created.h"
#include "include/datadog/heap/allocation_freed.h"
#include "include/datadog/heap/allocation_realloc.h"
#include "include/datadog/heap/probes.h"
#include "include/datadog/heap/sample_flag.h"
#include "include/datadog/heap/tl_state.h"

// Static wrappers

uint64_t dd_sampling_interval_effective__extern(void) { return dd_sampling_interval_effective(); }
dd_tl_state_t * dd_tl_state_get__extern(void) { return dd_tl_state_get(); }
dd_tl_state_t * dd_tl_state_get_or_init__extern(void) { return dd_tl_state_get_or_init(); }
bool dd_alloc_req_is_sampled__extern(dd_alloc_req_t req) { return dd_alloc_req_is_sampled(req); }
dd_alloc_req_t dd_allocation_requested__extern(size_t size, size_t alignment) { return dd_allocation_requested(size, alignment); }
void * dd_allocation_created__extern(void *raw, dd_alloc_req_t req) { return dd_allocation_created(raw, req); }
bool dd_sample_flag_check_and_clear__extern(void *user, void **raw_out) { return dd_sample_flag_check_and_clear(user, raw_out); }
dd_alloc_freed_t dd_allocation_freed__extern(void *ptr, size_t size, size_t alignment) { return dd_allocation_freed(ptr, size, alignment); }