Skip to content

Commit e7c12d2

Browse files
committed
Add example with beman_inplace
1 parent d83b891 commit e7c12d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"frame_table":{"pc":[4340288932,4340289092,4340289328,4340289484,4340290440,4340290648,4340290848,4340291076,4342490600,4342493672,4342579012,4342579472,4342720164],"object_path":[0,0,0,0,0,0,0,0,6,6,6,6,6],"object_address":[3492,3652,3888,4044,5000,5208,5408,5636,9704,12776,98116,98576,239268],"object_symbol":[1,1,1,1,2,3,4,5,7,8,9,10,11],"offsets":[0,4,8,12,13,19,20,21,24,25,26,27,28,34],"file":[12,12,12,15,12,12,12,15,12,12,12,15,15,16,16,19,21,12,12,25,25,28,28,25,32,32,35,35,38,38,38,41,41,41],"func":[13,14,14,1,13,14,14,1,13,14,14,1,1,17,18,20,22,23,24,26,27,29,30,31,33,34,36,37,39,40,40,42,43,11],"line":[563,147,144,9,563,147,144,10,563,147,144,12,0,0,86,120,302,250,259,0,0,80,111,197,0,0,57,75,782,1286,1283,64,63,0],"column":[23,7,86,17,23,7,86,17,23,7,86,17,1,3,12,7,9,9,67,8,8,29,9,5,0,0,25,25,23,5,68,34,64,0],"is_inline":[1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,1,1,1,0,0,0,1,1,0,0,0,0,0,1,1,1,1,1,0]},"type_data_table":{"size":[24,2408,2408,2408],"type":[44,45,46,47],"field_off":[0,6,6,6,8],"field_names":[48,50,51,52,54,56,60,62],"field_types":[49,49,49,53,55,57,61,63],"field_sizes":[8,8,8,1,1,1,2400,1],"field_offsets":[0,8,16,0,0,0,0,2400],"base_off":[0,0,1,2,2],"base_types":[58,59],"base_sizes":[2408,2408],"base_offsets":[0,0]},"event_table":[{"id":0,"type":"ALLOC","alloc_size":880,"alloc_addr":5207253424,"alloc_hint":0,"pc_id":[11,8,12],"object_info":null},{"id":1,"type":"ALLOC","alloc_size":10,"alloc_addr":5207253408,"alloc_hint":0,"pc_id":[11,8,0],"object_info":null},{"id":2,"type":"ALLOC","alloc_size":20,"alloc_addr":5207253120,"alloc_hint":0,"pc_id":[11,8,1],"object_info":null},{"id":3,"type":"ALLOC","alloc_size":100,"alloc_addr":5207252624,"alloc_hint":0,"pc_id":[11,8,2],"object_info":null},{"id":4,"type":"FREE","alloc_size":10,"alloc_addr":5207253408,"alloc_hint":0,"pc_id":[10,9,4,7,6,5,3],"object_info":{"trace_index":[2,3,4,5],"object_id":[13,12,11,10],"addr":[6126591312,6126591312,6126591312,6126591312],"size":[24,2408,2408,2408],"type":[44,47,46,45],"type_data":[0,3,2,1]}},{"id":5,"type":"FREE","alloc_size":20,"alloc_addr":5207253120,"alloc_hint":0,"pc_id":[10,9,4,7,6,5,3],"object_info":{"trace_index":[2,3,4,5],"object_id":[14,12,11,10],"addr":[6126591336,6126591312,6126591312,6126591312],"size":[24,2408,2408,2408],"type":[44,47,46,45],"type_data":[0,3,2,1]}},{"id":6,"type":"FREE","alloc_size":100,"alloc_addr":5207252624,"alloc_hint":0,"pc_id":[10,9,4,7,6,5,3],"object_info":{"trace_index":[2,3,4,5],"object_id":[16,12,11,10],"addr":[6126591384,6126591312,6126591312,6126591312],"size":[24,2408,2408,2408],"type":[44,47,46,45],"type_data":[0,3,2,1]}}],"strtab":["/opt/pages/mem_profile/examples/build/objects_beman_inplace","main","_ZNSt3__16vectorISt4byteNS_9allocatorIS1_EEED2B8ne200100Ev","_ZN5beman14inplace_vectorINSt3__16vectorISt4byteNS1_9allocatorIS3_EEEELm100EED2Ev","_ZN5beman7details14inplace_vector19inplace_vector_baseINSt3__16vectorISt4byteNS3_9allocatorIS5_EEEELm100EED2Ev","_ZN5beman7details14inplace_vector7storage11non_trivialINSt3__16vectorISt4byteNS4_9allocatorIS6_EEEELm100EED2Ev","/opt/pages/mem_profile/build/libmp_runtime.dylib","_Znwm","_ZdlPv","_ZN2mp9mp_unwindEmPmS0_","_ZN2mp9mp_unwindEmPm","_GLOBAL__sub_I_prune_symbol.cpp","/opt/homebrew/Cellar/llvm/20.1.7/bin/../include/c++/v1/__vector/vector.h","std::__1::vector<std::byte, std::__1::allocator<std::byte>>::__vallocate[abi:ne200100](unsigned long)","std::__1::vector<std::byte, std::__1::allocator<std::byte>>::vector[abi:ne200100](unsigned long)","/opt/pages/mem_profile/examples/src/objects_beman_inplace.cpp","/opt/homebrew/Cellar/llvm/20.1.7/bin/../include/c++/v1/__new/allocate.h","void std::__1::__libcpp_operator_delete[abi:ne200100]<std::byte*, unsigned long>(std::byte*, unsigned long)","void std::__1::__libcpp_deallocate[abi:ne200100]<std::byte>(std::__1::__type_identity<std::byte>::type*, std::__1::__element_count, unsigned long)","/opt/homebrew/Cellar/llvm/20.1.7/bin/../include/c++/v1/__memory/allocator.h","std::__1::allocator<std::byte>::deallocate[abi:ne200100](std::byte*, unsigned long)","/opt/homebrew/Cellar/llvm/20.1.7/bin/../include/c++/v1/__memory/allocator_traits.h","std::__1::allocator_traits<std::__1::allocator<std::byte>>::deallocate[abi:ne200100](std::__1::allocator<std::byte>&, std::byte*, unsigned long)","std::__1::vector<std::byte, std::__1::allocator<std::byte>>::__destroy_vector::operator()[abi:ne200100]()","std::__1::vector<std::byte, std::__1::allocator<std::byte>>::~vector[abi:ne200100]()","/opt/pages/mem_profile/examples/include/beman/inplace_vector/inplace_vector.h","beman::inplace_vector<std::__1::vector<std::byte, std::__1::allocator<std::byte>>, 100ul>::~inplace_vector()","beman::details::inplace_vector::inplace_vector_base<std::__1::vector<std::byte, std::__1::allocator<std::byte>>, 100ul>::~inplace_vector_base()","/opt/homebrew/Cellar/llvm/20.1.7/bin/../include/c++/v1/__memory/construct_at.h","std::__1::vector<std::byte, std::__1::allocator<std::byte>>* std::__1::__destroy[abi:ne200100]<std::__1::vector<std::byte, std::__1::allocator<std::byte>>*>(std::__1::vector<std::byte, std::__1::allocator<std::byte>>*, std::__1::vector<std::byte, std::__1::allocator<std::byte>>*)","void std::__1::destroy[abi:ne200100]<std::__1::vector<std::byte, std::__1::allocator<std::byte>>*>(std::__1::vector<std::byte, std::__1::allocator<std::byte>>*, std::__1::vector<std::byte, std::__1::allocator<std::byte>>*)","beman::details::inplace_vector::storage::non_trivial<std::__1::vector<std::byte, std::__1::allocator<std::byte>>, 100ul>::~non_trivial()","/opt/pages/mem_profile/mp/runtime/include/mem_profile/mem_profile.cpp","operator new(unsigned long)","operator delete(void*)","/opt/pages/mem_profile/mp/unwind/include/mp_unwind/mp_unwind.cpp","mp::mp_unwind(unsigned long, unsigned long*, unsigned long*)","mp::mp_unwind(unsigned long, unsigned long*)","/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector","std::__1::vector<cpptrace::v1::detail::string_view, std::__1::allocator<cpptrace::v1::detail::string_view>>::__vallocate[abi:ne190102](unsigned long)","std::__1::vector<cpptrace::v1::detail::string_view, std::__1::allocator<cpptrace::v1::detail::string_view>>::vector[abi:ne190102](std::initializer_list<cpptrace::v1::detail::string_view>)","/opt/.cpm/cpptrace/a5a2/src/prune_symbol.cpp","cpptrace::v1::detail::$_0::operator()() const","__cxx_global_var_init","std::vector<std::byte>","beman::inplace_vector<std::vector<std::byte>, 100>","beman::details::inplace_vector::inplace_vector_base<std::vector<std::byte>, 100>","beman::details::inplace_vector::storage::non_trivial<std::vector<std::byte>, 100>","__begin_","pointer","__end_","__cap_","__padding1_550_","::std::__compressed_pair_padding<pointer>","__alloc_","allocator_type","__padding2_550_","::std::__compressed_pair_padding<allocator_type>","details::inplace_vector::inplace_vector_base<vector<byte, allocator<byte>>, 100UL>","storage::storage_for<vector<byte, allocator<byte>>, 100UL>","storage_data_","byte_based_storage","storage_size_","size_type"]}

0 commit comments

Comments
 (0)