Base CPU: Initialize profileEvent to NULL
Review Request #1383 - Created Aug. 31, 2012 and submitted
| Information | |
|---|---|
| Joel Hestness | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9182:f5f184f18e42 --------------------------- Base CPU: Initialize profileEvent to NULL The profileEvent pointer is tested against NULL in various places, but it is not initialized unless running in full-system mode. In SE mode, this can result in segmentation faults when profileEvent default intializes to something other than NULL.
Tested with se.py, collecting and restoring from checkpoints
Ship It!
