Hi,
The patch from Bob does not seem necessary based on what I see in upstream
libpfm4.
The models 4b, 4c are already detected correctly, though under a different
model name.
On Mon, Jun 20, 2016 at 4:29 AM, Philip Mucci <mu...@icl.utk.edu> wrote:
> HI again Stephane,
>
> This one came in from Bob Walkup @ IBM to detect the additional variants
> of the P8. As it turns out, this code was (sort of) already in the tree,
> but the names have changed. I redid the patch against the latest tree
> (minus my previous patch for PLM’s) and the result follows.
>
> Bob, you are going to want to submit patches against the latest PAPI git
> tree which usually has the latest libpfm. Conversely you can pull libpfm
> directly from here..
>
> http://git.code.sf.net/p/perfmon2/libpfm4
>
>
> Phil
>
>
> Begin forwarded message:
>
> *From: *"Bob Walkup" <wal...@us.ibm.com>
> *Subject: **[Perfapi-devel] patch for libpfm4 to support additional
> flavors of IBM Power8 processors*
> *Date: *June 17, 2016 at 5:21:47 PM GMT+2
> *To: *perfapi-de...@eecs.utk.edu
>
> The current code in papi-5.4.3 checks the processor version and identifies
> a CPU as IBM POWER8 if the id is 0x004b, which corresponds to the first
> flavor of POWER8 that was made available. Now there are two additional
> flavors of POWER8 processors, which report ids of 0x004c and 0x004d. The
> code in libpfm4 needs to be patched so that these processor ids are
> recognized. The attached patch will do the job.
>
> (1) put the attached file "ibm.diffs" in the papi src/libpfm4 directory
> (2) apply the patch with : patch -p0 <ibm.diffs
>
> That should do it. With the patch in place, papi will recognize all three
> current versions of POWER8 processors.
>
> Regards,
> Bob Walkup (wal...@us.ibm.com, 914-945-1512)
> ----------------------------------------------------------------
> *(See attached file: ibm.diffs)*
>
>
> _______________________________________________
> Perfapi-devel mailing list
> perfapi-de...@eecs.utk.edu
> http://lists.eecs.utk.edu/mailman/listinfo/perfapi-devel
>
>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports. http://sdm.link/zohomanageengine
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel