summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2008-03-14 06:16:18 +0000
committerjkoshy <jkoshy@FreeBSD.org>2008-03-14 06:16:18 +0000
commitb2f6c016f9c52e95e32509fb2305a2d4874aedf0 (patch)
tree0dd179240a652e8ce321d657c4670d1d5eb30fe4 /sys/dev/hwpmc
parent8293fe75e4b3bd42c01e5eea1ac0676aaa9e32ff (diff)
downloadFreeBSD-src-b2f6c016f9c52e95e32509fb2305a2d4874aedf0.zip
FreeBSD-src-b2f6c016f9c52e95e32509fb2305a2d4874aedf0.tar.gz
Correct a typo.
Diffstat (limited to 'sys/dev/hwpmc')
-rw-r--r--sys/dev/hwpmc/pmc_events.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/hwpmc/pmc_events.h b/sys/dev/hwpmc/pmc_events.h
index 23fc9dc..a82ea6b 100644
--- a/sys/dev/hwpmc/pmc_events.h
+++ b/sys/dev/hwpmc/pmc_events.h
@@ -386,7 +386,11 @@ __PMC_EV(K8, NB_HT_BUS2_BANDWIDTH, k8-nb-ht-bus2-bandwidth)
#define PMC_EV_K8_LAST PMC_EV_K8_NB_HT_BUS2_BANDWIDTH
-/* Intel Pentium Events */
+/*
+ * Intel Pentium and Pentium MMX Events, from the "Intel 64 and IA-32
+ * Intel(R) Architectures Software Developer's Manual, Volume 3B:
+ * System Programming Guide, Part 2, August 2007".
+ */
#define __PMC_EV_P5() \
__PMC_EV(P5, DATA_READ, p5-data-read) \
__PMC_EV(P5, DATA_WRITE, p5-data-write) \
@@ -396,7 +400,7 @@ __PMC_EV(P5, DATA_WRITE_MISS, p5-data-write-miss) \
__PMC_EV(P5, WRITE_HIT_TO_M_OR_E_STATE_LINES, \
p5-write-hit-to-m-or-e-state-lines) \
__PMC_EV(P5, DATA_CACHE_LINES_WRITTEN_BACK, \
- p4-data-cache-lines-written-back) \
+ p5-data-cache-lines-written-back) \
__PMC_EV(P5, EXTERNAL_SNOOPS, p5-external-snoops) \
__PMC_EV(P5, EXTERNAL_DATA_CACHE_SNOOP_HITS, \
p5-external-data-cache-snoop-hits) \
OpenPOWER on IntegriCloud