Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548880 - sys-apps/intel-performance-counter-monitor - A better way to measure CPU utilization
Summary: sys-apps/intel-performance-counter-monitor - A better way to measure CPU util...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2015-05-08 00:39 UTC by Brendan Horan
Modified: 2015-05-20 06:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
intel-performance-counter-monitor-2.8.ebuild (intel-performance-counter-monitor-2.8.ebuild,1.24 KB, text/plain)
2015-05-08 00:48 UTC, Brendan Horan
Details
metadata.xml (metadata.xml,420 bytes, text/xml)
2015-05-08 00:49 UTC, Brendan Horan
Details
intel-performance-counter-monitor-2.8.ebuild (intel-performance-counter-monitor-2.8.ebuild,1.30 KB, text/plain)
2015-05-20 03:01 UTC, Brendan Horan
Details
intel-performance-counter-monitor-2.8.ebuild (intel-performance-counter-monitor-2.8.ebuild,1.25 KB, text/plain)
2015-05-20 03:38 UTC, Brendan Horan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Horan 2015-05-08 00:39:30 UTC
From upstream :
"The complexity of computing systems has tremendously increased over the last decades. Hierarchical cache subsystems, non-uniform memory, simultaneous multithreading and out-of-order execution have a huge impact on the performance and compute capacity of modern processors."

URL :
https://software.intel.com/en-us/articles/intel-performance-counter-monitor-a-better-way-to-measure-cpu-utilization



Reproducible: Always
Comment 1 Brendan Horan 2015-05-08 00:46:40 UTC
Intel requires you to accept the BSD licence on there download page.
So I made the user "fetch" this package, not sure if that is the correct thing to do.
Let me know if its not :)


I also added a new use flag "perf" that is just for this package.
It enables "DPCM_USE_PERF" options in GCC.
I added it to metadata.xml, also not sure if this is the correct way.
Happy to change if its not correct.
I will attach the sample metadata.xml file as well for reference.know
Comment 2 Brendan Horan 2015-05-08 00:48:46 UTC
Created attachment 402846 [details]
intel-performance-counter-monitor-2.8.ebuild

Attaching first ebuild version.
Comment 3 Brendan Horan 2015-05-08 00:49:54 UTC
Created attachment 402848 [details]
metadata.xml

Attaching sample metadata.xml for USE flags for this package.
Comment 4 Brendan Horan 2015-05-10 03:51:19 UTC
I am also happy and willing to proxy mantain this package.
Comment 5 Brendan Horan 2015-05-14 02:36:36 UTC
I need to fix where the src-url is getting the source.
Fetch seems wrong. May be possible to host source on disfiles mirrors

Also need to check if it requires any kernel settings 
^ from chats on IRC.
Comment 6 Ulrich Müller gentoo-dev 2015-05-15 09:30:39 UTC
(In reply to Brendan Horan from comment #1)
> Intel requires you to accept the BSD licence on there download page.
> So I made the user "fetch" this package, not sure if that is the correct
> thing to do.
> Let me know if its not :)

It is distributed under the (3-clause) BSD license, so no fetch (or even mirror) restriction is needed here.
Comment 7 Brendan Horan 2015-05-20 02:52:58 UTC
Fixed SRC_URI.
Added "CONFIG_CHECK="X86_MSR""
Will update new ebuild
Comment 8 Brendan Horan 2015-05-20 03:01:53 UTC
Created attachment 403642 [details]
intel-performance-counter-monitor-2.8.ebuild
Comment 9 Brendan Horan 2015-05-20 03:38:06 UTC
Removed the use flag. Package needs it to be set to work.
Made the config check non fatal. 

Will update new ebuild
Comment 10 Brendan Horan 2015-05-20 03:38:51 UTC
Created attachment 403644 [details]
intel-performance-counter-monitor-2.8.ebuild
Comment 11 Yixun Lan archtester gentoo-dev 2015-05-20 06:11:03 UTC
+*intel-performance-counter-monitor-2.8 (20 May 2015)
+
+  20 May 2015; Yixun Lan <dlan@gentoo.org>
+  +intel-performance-counter-monitor-2.8.ebuild, +metadata.xml:
+  initial ebuild contributed by Brendan 'undersys' Horan