Searched refs:zlog_btlog (Results 1 - 2 of 2) sorted by relevance

/macosx-10.9.5/xnu-2422.115.4/tools/lldbmacros/
H A Dmemory.py351 if int(kern.globals.zlog_btlog) == 0:
360 zstack_record_offset = zstack_index * unsigned(kern.globals.zlog_btlog.btrecord_size)
361 zstack_record = kern.GetValueFromAddress(unsigned(kern.globals.zlog_btlog.btrecords) + zstack_record_offset, 'btlog_record_t *')
381 if int(kern.globals.zlog_btlog) == 0:
384 index = kern.globals.zlog_btlog.head
411 if int(kern.globals.zlog_btlog) == 0:
415 cpcs_index = unsigned(kern.globals.zlog_btlog.head)
418 depth = unsigned(kern.globals.zlog_btlog.btrecord_btdepth)
421 cpcs_record_offset = cpcs_index * unsigned(kern.globals.zlog_btlog.btrecord_size)
422 cpcs_record = kern.GetValueFromAddress(unsigned(kern.globals.zlog_btlog
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/
H A Dzalloc.c1065 static btlog_t *zlog_btlog; /* the log itself, dynamically allocated when logging is enabled */ variable
1114 #define DO_LOGGING(z) (zlog_btlog && (z) == zone_of_interest)
1810 if (zone_of_interest != NULL && zlog_btlog == NULL && kmem_alloc_ready) {
1811 zlog_btlog = btlog_create(log_records, MAX_ZTRACE_DEPTH, NULL, NULL, NULL);
1812 if (zlog_btlog) {
2541 btlog_add_entry(zlog_btlog, (void *)addr, ZOP_ALLOC, (void **)zbt, numsaved);
2834 btlog_add_entry(zlog_btlog, (void *)addr, ZOP_FREE, (void **)zbt, numsaved);
2842 btlog_remove_entries_for_element(zlog_btlog, (void *)addr);

Completed in 80 milliseconds