diff options
author | Davide Italiano <davide@FreeBSD.org> | 2012-03-01 21:23:26 +0000 |
---|---|---|
committer | Davide Italiano <davide@FreeBSD.org> | 2012-03-01 21:23:26 +0000 |
commit | 78d763a29b154e484afac2dc06403e28d8abd277 (patch) | |
tree | dcd5eadb41bfdbb68e22fb766ff59d8b0fa25276 /sys/dev/hwpmc/hwpmc_uncore.h | |
parent | d4280a0fab59c98c474452cf9c3d7417bd098e68 (diff) | |
download | src-78d763a29b154e484afac2dc06403e28d8abd277.tar.gz src-78d763a29b154e484afac2dc06403e28d8abd277.zip |
- Add support for the Intel Sandy Bridge microarchitecture (both core and uncore counting events)
- New manpages with event lists.
- Add MSRs for the Intel Sandy Bridge microarchitecture
Reviewed by: attilio, brueffer, fabient
Approved by: gnn (mentor)
MFC after: 3 weeks
Notes
Notes:
svn path=/head/; revision=232366
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_uncore.h')
-rw-r--r-- | sys/dev/hwpmc/hwpmc_uncore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/hwpmc/hwpmc_uncore.h b/sys/dev/hwpmc/hwpmc_uncore.h index 6c3b4cf9e3d4..c1f825924e05 100644 --- a/sys/dev/hwpmc/hwpmc_uncore.h +++ b/sys/dev/hwpmc/hwpmc_uncore.h @@ -68,6 +68,7 @@ struct pmc_md_ucp_op_pmcallocate { #define UCF_CTR0 0x394 #define UCF_OFFSET 32 +#define UCF_OFFSET_SB 29 #define UCF_CTRL 0x395 /* @@ -77,6 +78,7 @@ struct pmc_md_ucp_op_pmcallocate { #define UCP_PMC0 0x3B0 #define UCP_EVSEL0 0x3C0 #define UCP_OPCODE_MATCH 0x396 +#define UCP_CB0_EVSEL0 0x700 /* * Simplified programming interface in Intel Performance Architecture |