1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

[NFC][CSSPGO] Rename the name of an enum value.

This commit is contained in:
Hongtao Yu 2021-07-13 18:30:16 -07:00
parent 5474d8b64f
commit 56987d8f22

View File

@ -648,7 +648,7 @@ void PerfReader::parseMMap2Event(TraceStream &TraceIt) {
enum EventIndex {
WHOLE_LINE = 0,
PID = 1,
BASE_ADDRESS = 2,
MMAPPED_ADDRESS = 2,
MMAPPED_SIZE = 3,
PAGE_OFFSET = 4,
BINARY_PATH = 5
@ -665,7 +665,7 @@ void PerfReader::parseMMap2Event(TraceStream &TraceIt) {
}
MMapEvent Event;
Fields[PID].getAsInteger(10, Event.PID);
Fields[BASE_ADDRESS].getAsInteger(0, Event.Address);
Fields[MMAPPED_ADDRESS].getAsInteger(0, Event.Address);
Fields[MMAPPED_SIZE].getAsInteger(0, Event.Size);
Fields[PAGE_OFFSET].getAsInteger(0, Event.Offset);
Event.BinaryPath = Fields[BINARY_PATH];