perf: 24x7: Eliminate domain name suffix in event names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Canonical Kernel Team | ||
Xenial |
Fix Released
|
Medium
|
Tim Gardner | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Canonical Kernel Team |
Bug Description
Events in the 24x7 counters can belong to different domains like
core, chip, virtual CPU home core, etc. To monitor an event, the
user must specify the required parameters for the event, which
include its name, the chip/core on which to monitor the event
as well as the domain.
Currently the event is specified to the perf tool as:
where the event name is 'HPM_0THRD_
'__PHYS_CORE' specifies the domain, and 'core=1' specifies the
core. This is inconsistent in that one parameter is specified
as a suffix and the other in a parameter=value format.
To simplify the usage, we can eliminate the suffix and let the
user specify the domain also in the param=value format. While
the domain indices are "well known" or nearly fixed in value,
we could display the domain indices in sysfs as a reference for
the users:
$ cat /sys/bus/
1: Physical Chip
2: Physical Core
3: VCPU Home Core
4: VCPU Home Chip
5: VCPU Home Node
6: VCPU Remote Node
Using these the perf event can now be identified as
. This feature is implemented by the following commits which have now been merged into mainline:
d34171e: powerpc/
8f69dc7: powerpc/perf/24x7: Eliminate domain suffix in event names
== Comment: #1 - Sukadev Bhattiprolu <email address hidden> - 2016-03-21 15:26:33 ==
Following two upstream commits are also related 24x7 and could
be included in this feature:
e5a5886: powerpc/
2b206ee: powerpc/
tags: | added: architecture-ppc64 bugnameltc-139405 severity-medium targetmilestone-inin16041 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
Changed in ubuntu: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Canonical Kernel Team (canonical-kernel-team) |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
tags: |
added: architecture-ppc64 removed: architecture-ppc64le |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1560482/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]