summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2007-11-23 03:03:30 +0000
committerjkoshy <jkoshy@FreeBSD.org>2007-11-23 03:03:30 +0000
commit7ea038e33e51b1e1d97b254b29758ec80e7971c4 (patch)
treed0c4c7c8e52db11de2ed8266574ae367307b50f4 /sys/amd64
parent9786b2ff4caded4bb83f7031d393ede7f212911e (diff)
downloadFreeBSD-src-7ea038e33e51b1e1d97b254b29758ec80e7971c4.zip
FreeBSD-src-7ea038e33e51b1e1d97b254b29758ec80e7971c4.tar.gz
MFP4: Add assembly language symbols used by hwpmc(4)'s callchain capture.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/genassym.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c
index 6a5056f..cb541e0 100644
--- a/sys/amd64/amd64/genassym.c
+++ b/sys/amd64/amd64/genassym.c
@@ -78,12 +78,15 @@ ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
ASSYM(TD_LOCK, offsetof(struct thread, td_lock));
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
+ASSYM(TD_PFLAGS, offsetof(struct thread, td_pflags));
ASSYM(TD_PROC, offsetof(struct thread, td_proc));
ASSYM(TD_TID, offsetof(struct thread, td_tid));
ASSYM(TDF_ASTPENDING, TDF_ASTPENDING);
ASSYM(TDF_NEEDRESCHED, TDF_NEEDRESCHED);
+ASSYM(TDP_CALLCHAIN, TDP_CALLCHAIN);
+
ASSYM(V_TRAP, offsetof(struct vmmeter, v_trap));
ASSYM(V_SYSCALL, offsetof(struct vmmeter, v_syscall));
ASSYM(V_INTR, offsetof(struct vmmeter, v_intr));
OpenPOWER on IntegriCloud