File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1683,6 +1683,13 @@ mach_thread_self
1683
1683
mach_timebase_info
1684
1684
mach_timebase_info_data_t
1685
1685
madvise
1686
+ malloc_statistics_t
1687
+ malloc_zone_check
1688
+ malloc_zone_log
1689
+ malloc_zone_print
1690
+ malloc_zone_print_ptr_info
1691
+ malloc_zone_statistics
1692
+ malloc_zone_t
1686
1693
max_align_t
1687
1694
mcontext_t
1688
1695
memset_pattern4
@@ -1694,6 +1701,7 @@ mkdirat
1694
1701
mkstemps
1695
1702
mount
1696
1703
msghdr
1704
+ mstats
1697
1705
newlocale
1698
1706
nice
1699
1707
nl_item
Original file line number Diff line number Diff line change @@ -645,6 +645,10 @@ s! {
645
645
pub chunks_free: :: size_t,
646
646
pub bytes_free: :: size_t,
647
647
}
648
+
649
+ pub struct malloc_zone_t {
650
+ __private: [ :: uintptr_t; 18 ] , // FIXME: keeping private for now
651
+ }
648
652
}
649
653
650
654
s_no_extra_traits ! {
@@ -4062,6 +4066,11 @@ extern "C" {
4062
4066
pub fn memset_pattern16 ( b : * mut :: c_void , pattern16 : * const :: c_void , len : :: size_t ) ;
4063
4067
4064
4068
pub fn mstats ( ) -> mstats ;
4069
+ pub fn malloc_zone_check ( zone : * mut :: malloc_zone_t ) -> :: boolean_t ;
4070
+ pub fn malloc_zone_print ( zone : * mut :: malloc_zone_t , verbose : :: boolean_t ) ;
4071
+ pub fn malloc_zone_statistics ( zone : * mut :: malloc_zone_t , stats : * mut malloc_statistics_t ) ;
4072
+ pub fn malloc_zone_log ( zone : * mut :: malloc_zone_t , address : * mut :: c_void ) ;
4073
+ pub fn malloc_zone_print_ptr_info ( ptr : * mut :: c_void ) ;
4065
4074
4066
4075
pub fn proc_listpids (
4067
4076
t : u32 ,
You can’t perform that action at this time.
0 commit comments