Changeset View
Changeset View
Standalone View
Standalone View
stable/11/sys/kern/kern_thread.c
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
_Static_assert(offsetof(struct thread, td_frame) == 0x418, | _Static_assert(offsetof(struct thread, td_frame) == 0x418, | ||||
"struct thread KBI td_frame"); | "struct thread KBI td_frame"); | ||||
_Static_assert(offsetof(struct thread, td_emuldata) == 0x4c0, | _Static_assert(offsetof(struct thread, td_emuldata) == 0x4c0, | ||||
"struct thread KBI td_emuldata"); | "struct thread KBI td_emuldata"); | ||||
_Static_assert(offsetof(struct proc, p_flag) == 0xb0, | _Static_assert(offsetof(struct proc, p_flag) == 0xb0, | ||||
"struct proc KBI p_flag"); | "struct proc KBI p_flag"); | ||||
_Static_assert(offsetof(struct proc, p_pid) == 0xbc, | _Static_assert(offsetof(struct proc, p_pid) == 0xbc, | ||||
"struct proc KBI p_pid"); | "struct proc KBI p_pid"); | ||||
_Static_assert(offsetof(struct proc, p_filemon) == 0x3d0, | _Static_assert(offsetof(struct proc, p_filemon) == 0x3c0, | ||||
"struct proc KBI p_filemon"); | "struct proc KBI p_filemon"); | ||||
_Static_assert(offsetof(struct proc, p_comm) == 0x3e0, | _Static_assert(offsetof(struct proc, p_comm) == 0x3d0, | ||||
"struct proc KBI p_comm"); | "struct proc KBI p_comm"); | ||||
_Static_assert(offsetof(struct proc, p_emuldata) == 0x4b0, | _Static_assert(offsetof(struct proc, p_emuldata) == 0x4a0, | ||||
"struct proc KBI p_emuldata"); | "struct proc KBI p_emuldata"); | ||||
#endif | #endif | ||||
#ifdef __i386__ | #ifdef __i386__ | ||||
_Static_assert(offsetof(struct thread, td_flags) == 0x8c, | _Static_assert(offsetof(struct thread, td_flags) == 0x8c, | ||||
"struct thread KBI td_flags"); | "struct thread KBI td_flags"); | ||||
_Static_assert(offsetof(struct thread, td_pflags) == 0x94, | _Static_assert(offsetof(struct thread, td_pflags) == 0x94, | ||||
"struct thread KBI td_pflags"); | "struct thread KBI td_pflags"); | ||||
_Static_assert(offsetof(struct thread, td_frame) == 0x2c0, | _Static_assert(offsetof(struct thread, td_frame) == 0x2c0, | ||||
"struct thread KBI td_frame"); | "struct thread KBI td_frame"); | ||||
_Static_assert(offsetof(struct thread, td_emuldata) == 0x30c, | _Static_assert(offsetof(struct thread, td_emuldata) == 0x30c, | ||||
"struct thread KBI td_emuldata"); | "struct thread KBI td_emuldata"); | ||||
_Static_assert(offsetof(struct proc, p_flag) == 0x68, | _Static_assert(offsetof(struct proc, p_flag) == 0x68, | ||||
"struct proc KBI p_flag"); | "struct proc KBI p_flag"); | ||||
_Static_assert(offsetof(struct proc, p_pid) == 0x74, | _Static_assert(offsetof(struct proc, p_pid) == 0x74, | ||||
"struct proc KBI p_pid"); | "struct proc KBI p_pid"); | ||||
_Static_assert(offsetof(struct proc, p_filemon) == 0x278, | _Static_assert(offsetof(struct proc, p_filemon) == 0x268, | ||||
"struct proc KBI p_filemon"); | "struct proc KBI p_filemon"); | ||||
_Static_assert(offsetof(struct proc, p_comm) == 0x284, | _Static_assert(offsetof(struct proc, p_comm) == 0x274, | ||||
"struct proc KBI p_comm"); | "struct proc KBI p_comm"); | ||||
_Static_assert(offsetof(struct proc, p_emuldata) == 0x304, | _Static_assert(offsetof(struct proc, p_emuldata) == 0x2f4, | ||||
"struct proc KBI p_emuldata"); | "struct proc KBI p_emuldata"); | ||||
#endif | #endif | ||||
SDT_PROVIDER_DECLARE(proc); | SDT_PROVIDER_DECLARE(proc); | ||||
SDT_PROBE_DEFINE(proc, , , lwp__exit); | SDT_PROBE_DEFINE(proc, , , lwp__exit); | ||||
/* | /* | ||||
* thread related storage. | * thread related storage. | ||||
▲ Show 20 Lines • Show All 1,137 Lines • Show Last 20 Lines |