Bug 1301627 - Change the name of commented variables when calling perf_event_open. r=erahm

This commit is contained in:
Kirti Singla 2016-10-23 10:10:00 -07:00
parent 3079f45ce5
commit bd74c7db4a

View File

@ -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"