ktr_entry
cpu_ktr_caller(struct ktr_entry *_ktr)
struct ktr_entry *ktr;
static struct ktr_entry ktr_buf0[KTR_ENTRIES_BOOT0];
kcpu->ktr_buf = kmalloc(KTR_ENTRIES * sizeof(struct ktr_entry),
struct ktr_entry *
struct ktr_entry *entry;
ktr_finish_write_entry(struct ktr_info *info, struct ktr_entry *entry)
static int db_mach_vtrace(int cpu, struct ktr_entry *kp, int idx);
struct ktr_entry *kp;
db_mach_vtrace(int cpu, struct ktr_entry *kp, int idx)
struct ktr_entry * ktr_begin_write_entry(struct ktr_info *,
int ktr_finish_write_entry(struct ktr_info *, struct ktr_entry *);
void cpu_ktr_caller(struct ktr_entry *ktr);
struct ktr_entry *entry; \
struct ktr_entry *entry; \
struct ktr_entry *ktr_buf;
static void print_entry(FILE *, int, int, struct ktr_entry *, u_int64_t *);
static void print_callback(void *, int, int, struct ktr_entry *, uint64_t *);
static void dump_callback(void *, int, int, struct ktr_entry *, uint64_t *);
static void get_indices(struct ktr_entry **, int *);
static void load_bufs(struct ktr_buffer *, struct ktr_entry **, int *);
struct ktr_entry **ktr_kbuf;
print_entry(FILE *fo, int n, int row, struct ktr_entry *entry,
print_callback(void *ctx, int n, int row, struct ktr_entry *entry, uint64_t *last_ts)
struct ktr_entry *ents;
dump_callback(void *ctx, int n, int row __unused, struct ktr_entry *entry,
it->ents = malloc(sizeof(struct ktr_entry) * entries_per_buf);
get_indices(struct ktr_entry **ktr_kbuf, int *ktr_idx)
typedef void (*ktr_iter_cb_t)(void *, int, int, struct ktr_entry *, uint64_t *);
load_bufs(struct ktr_buffer *ktr_bufs, struct ktr_entry **kbufs, int *ktr_idx)
sizeof(struct ktr_entry) * entries_per_buf)
struct ktr_entry *save;
struct ktr_entry *ent;