mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
Bug 1301627 - Change the name of commented variables when calling perf_event_open. r=erahm
This commit is contained in:
parent
3079f45ce5
commit
bd74c7db4a
@ -518,8 +518,8 @@ public:
|
||||
attr.config = config;
|
||||
|
||||
// Measure all processes/threads. The specified CPU doesn't matter.
|
||||
mFd = perf_event_open(&attr, /* pid = */ -1, /* cpu = */ 0,
|
||||
/* group_fd = */ -1, /* flags = */ 0);
|
||||
mFd = perf_event_open(&attr, /* aPid = */ -1, /* aCpu = */ 0,
|
||||
/* aGroupFd = */ -1, /* aFlags = */ 0);
|
||||
if (mFd < 0) {
|
||||
Abort("perf_event_open() failed\n"
|
||||
"- Did you run as root (e.g. with |sudo|) or set\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user