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)

x86_64
Linux
task

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: dlrobertson, Assigned: rzvncj, Mentored)

References

Details

Attachments

(1 file)

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
Mentor: drobertson
Severity: -- → N/A
Priority: -- → P3
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
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: