Intel Vol 3b says that Ivy Bridge support is more or less the same as
Sandy Bridge.

The below patch just detects IvyBridge as a SandyBridge uncore.  It seems
to work.

Is this the kind of fix you want? Or would you prefer the SandyBridge 
table to be copied over as a specific IvyBridge file?

Signed-off-by: Vince Weaver <vincent.wea...@maine.edu>

diff --git a/lib/pfmlib_intel_snb_unc.c b/lib/pfmlib_intel_snb_unc.c
index f4bfaba..00d7b86 100644
--- a/lib/pfmlib_intel_snb_unc.c
+++ b/lib/pfmlib_intel_snb_unc.c
@@ -44,6 +44,7 @@ pfm_snb_unc_detect(void *this)
 
        switch (pfm_intel_x86_cfg.model) {
                case 42: /* Sandy Bridge (Core i7 26xx, 25xx) */
+               case 58: /* Ivy Bridge */
                        break;
                default:
                        return PFM_ERR_NOTSUPP;


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to