> So since this would be an O3 simulation, then that would mean I would > want all CPU flags, the TLB, the Cache, and also the Exec flag. How is that different from All?
> To do this, you would have to infer what flags are relevant to what > objects based on where the flags are defined. For instance: O3CPU > flags are defined in src/o3/SConscript, so I could infer all flags in > src/cpu/SConscript and all flags in src/cpu/o3/SConscript are > relevant. That seems error prone unless we explicitly add notations indicating which flags go with which objects. I do hope to add per object trace flags one of these days. Then you'd be able to create an object in python and say foo.trace_flags = All and that'd apply to just that object. It should be easy to do and should give you what you need. The problem is that there's so much else to do. > if you did add the capability of adding trace-flags through the > configuration files then eventually I could get around to doing what I > described above. It's already there. Look at src/python/m5/main.py to see how it's done. Nate _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
