Skip to main content

Module core

Module core 

Source
Expand description

Core memory tracking functionality Core memory tracking functionality

This module contains the fundamental components for memory tracking:

  • Memory tracker implementation
  • Custom allocator
  • Type definitions
  • Scope tracking

Re-exports§

pub use allocator::TrackingAllocator;
pub use tracker::get_tracker;
pub use tracker::MemoryTracker;
pub use types::AllocationInfo;
pub use types::TrackingError;
pub use types::TrackingResult;
pub use crate::capture::backends::ExportMode;
pub use crate::capture::backends::ExportOptions;
pub use error::DefaultErrorRecovery;
pub use error::ErrorRecovery;
pub use error::ErrorSeverity;
pub use error::MemScopeError;
pub use error::MemoryOperation;
pub use error::RecoveryAction;
pub use error::Result as MemScopeResult;
pub use error::SystemErrorType;
pub use call_stack_normalizer::get_global_call_stack_normalizer;
pub use call_stack_normalizer::initialize_global_call_stack_normalizer;
pub use call_stack_normalizer::CallStackId;
pub use call_stack_normalizer::CallStackNormalizer;
pub use call_stack_normalizer::CallStackRef;
pub use call_stack_normalizer::NormalizedCallStack;
pub use call_stack_normalizer::NormalizerConfig;
pub use call_stack_normalizer::NormalizerStats;
pub use safe_operations::SafeLock;

Modules§

allocator
Custom global allocator for tracking memory allocations.
call_stack_normalizer
Call Stack Normalization System
error
Unified error handling system for memscope-rs
safe_operations
Safe Operations - Provides safe lock operations
scope_tracker
Scope tracking functionality for memory analysis
tracker
Memory tracking module with modular structure.
types