57
55
DEFINE(PT_OFF_A2, offsetof(struct pt_regs, a2));
58
56
DEFINE(PT_OFF_PC, offsetof(struct pt_regs, pc));
59
57
DEFINE(PT_OFF_SR, offsetof(struct pt_regs, sr));
60
59
/* bitfields are a bit difficult */
61
63
DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, pc) + 4);
63
66
/* offsets into the irq_cpustat_t struct */
64
67
DEFINE(CPUSTAT_SOFTIRQ_PENDING, offsetof(irq_cpustat_t, __softirq_pending));
66
76
/* offsets into the bi_record struct */
67
77
DEFINE(BIR_TAG, offsetof(struct bi_record, tag));
68
78
DEFINE(BIR_SIZE, offsetof(struct bi_record, size));