Home
last modified time | relevance | path

Searched refs:btlog (Results 1 – 9 of 9) sorted by relevance

/xnu-8019.80.24/osfmk/kern/
H A Dbtlog.c107 struct btlog { struct
137 #define lookup_btrecord(btlog, index) \ argument
138 ((btlog_record_t *)(btlog->btrecords + index * btlog->btrecord_size))
140 uint32_t calculate_hashidx_for_element(uintptr_t elem, btlog_t *btlog);
141 uint32_t lookup_btrecord_byhash(btlog_t *btlog, uint32_t md5_hash, void *bt[], size_t btcount);
143 void btlog_add_elem_to_freelist(btlog_t *btlog, btlog_element_t *hash_elem);
144 btlog_element_t* btlog_get_elem_from_freelist(btlog_t *btlog);
147 lookup_btrecord_byhash(btlog_t *btlog, uint32_t md5_hash, void *bt[], size_t btcount) in lookup_btrecord_byhash() argument
157 recindex = btlog->head; in lookup_btrecord_byhash()
158 record = lookup_btrecord(btlog, recindex); in lookup_btrecord_byhash()
[all …]
H A Dbtlog.h68 struct btlog;
69 typedef struct btlog btlog_t;
77 extern void btlog_add_entry(btlog_t * btlog,
83 extern void btlog_remove_entries_for_element(btlog_t *btlog,
87 void btlog_copy_backtraces_for_elements(btlog_t * btlog,
94 size_t get_btlog_records_count(btlog_t *btlog);
96 void get_btlog_records(btlog_t *btlog,
H A DMakefile44 btlog.h \
/xnu-8019.80.24/tools/lldbmacros/
H A Dbtlog.py11 def GetBTLogSummary(btlog): argument
17 index = btlog.head
18 records = btlog.btrecords
19 record_size = btlog.btrecord_size
28 capacity = (btlog.btlog_buffersize - sizeof('btlog_t')) / btlog.btrecord_size
32 return format_string.format(btlog, capacity, btlog.btrecord_btdepth, count)
85 btlog = kern.GetValueFromAddress(cmd_args[0], 'btlog_t *')
86 if not btlog:
90 print GetBTLogSummary(btlog)
112 btlog = kern.GetValueFromAddress(cmd_args[0], 'btlog_t *')
[all …]
H A Dzonetriage.py68 btlog = FindZoneBTLog(zone)
69 if btlog is not None:
70 print "(lldb) zstack_findelem " + btlog + " " + element
71 findelem_output = lldb_run_command("zstack_findelem " + btlog + " " + element)
H A DMakefile83 btlog.py \
H A Dxnu.py1308 from btlog import *
/xnu-8019.80.24/osfmk/conf/
H A DMakefile.template139 btlog.o_CWARNFLAGS_ADD += -Wno-shorten-64-to-32
188 btlog.o_CWARNFLAGS_ADD += -Wno-sign-conversion
H A Dfiles122 osfmk/kern/btlog.c standard