Trace: Allow printing ASIDs and selectively tracing based on user/kernel code.
Review Request #678 - Created May 4, 2011 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
Trace: Allow printing ASIDs and selectively tracing based on user/kernel code. Debug flags are ExecUser, ExecKernel, and ExecAsid. ExecUser and ExecKernel are set by default when Exec is specified. Use minus sign with ExecUser or ExecKernel to remove user or kernel tracing respectively.
looks reasonable to me. I assume that it works.
Posted (May 4, 2011, 2 p.m.)
-
src/cpu/exetrace.cc (Diff revision 1) -
Maybe put these ifs together with an or? It's not hugely better since the body is so short, but it's something to consider.
Posted (May 4, 2011, 2:08 p.m.)
-
src/cpu/SConscript (Diff revision 1) -
This isn't from your change, but should this be missing ExecSymbol? We don't really need this flag in any case since you can just use Exec and turn off ExecTicks.
