Closed
Bug 1794942
Opened 2 years ago
Closed 2 years ago
[linux] RAPL perf event config value should be determined by sysfs files
Categories
(Core :: Gecko Profiler, task, P3)
Tracking
()
RESOLVED
FIXED
110 Branch
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: dlrobertson, Assigned: rzvncj, Mentored)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
We currently use the known constant values of the perf event config found here. The RAPL perf event config value for each domain (PKG, CORES, DRAM, etc) should be determined by the corresponding sysfs files. The event config value should be present in /sys/bus/event_source/devices/power/events/energy-<domain>
. For example:
cat /sys/bus/event_source/devices/power/events/energy-pkg
event=0x02
Reporter | ||
Updated•2 years ago
|
Mentor: drobertson
Severity: -- → N/A
Priority: -- → P3
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → rzvncj
Status: NEW → ASSIGNED
Pushed by drobertson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7dc196302b0e
[Linux] Read RAPL perf event config values from sysfs files. r=dlrobertson
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox110:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•