/*
    Copyright (c) 2005-2021 Intel Corporation

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

{
global:

scalable_calloc;
scalable_free;
scalable_malloc;
scalable_realloc;
scalable_posix_memalign;
scalable_aligned_malloc;
scalable_aligned_realloc;
scalable_aligned_free;
scalable_msize;
scalable_allocation_mode;
scalable_allocation_command;
__TBB_malloc_safer_aligned_msize;
__TBB_malloc_safer_aligned_realloc;
__TBB_malloc_safer_free;
__TBB_malloc_safer_msize;
__TBB_malloc_safer_realloc;

/* memory pool stuff */
_ZN3rml10pool_resetEPNS_10MemoryPoolE;
_ZN3rml11pool_createEiPKNS_13MemPoolPolicyE;
_ZN3rml14pool_create_v1EiPKNS_13MemPoolPolicyEPPNS_10MemoryPoolE;
_ZN3rml11pool_mallocEPNS_10MemoryPoolEj;
_ZN3rml12pool_destroyEPNS_10MemoryPoolE;
_ZN3rml9pool_freeEPNS_10MemoryPoolEPv;
_ZN3rml12pool_reallocEPNS_10MemoryPoolEPvj;
_ZN3rml20pool_aligned_reallocEPNS_10MemoryPoolEPvjj;
_ZN3rml19pool_aligned_mallocEPNS_10MemoryPoolEjj;
_ZN3rml13pool_identifyEPv;
_ZN3rml10pool_msizeEPNS_10MemoryPoolEPv;

local:

/* TBB symbols */
*3rml*;
*3tbb*;
*__TBB*;
__itt_*;
ITT_DoOneTimeInitialization;
TBB_runtime_interface_version;

/* Intel Compiler (libirc) symbols */
__intel_*;
_intel_*;
get_memcpy_largest_cachelinesize;
get_memcpy_largest_cache_size;
get_mem_ops_method;
init_mem_ops_method;
irc__get_msg;
irc__print;
override_mem_ops_method;
set_memcpy_largest_cachelinesize;
set_memcpy_largest_cache_size;

};
