>  I'm using the tracing facilities to collect a trace, in this case of cache
> accesses, to feed to cache simulators. It's useful if I don't need timing
> information but do want to try various cache configurations to see hit
> rates. So printing everything from the caches really slows down simulation,
> so I'd like to be able to send a signal and not start this until I need to.

You can just run M5 in the debugger, hit ctrl-C when you're in your
region of interest and then do a 'call setTraceFlag("MyFlag")' to turn
things on.  clearTraceFlag turns them off and dumpTraceStatus() tells
you what's on or off.

If that doesn't work, you can look for our SIGUSR1/2 handlers and
replace them with your own.

  Nate
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to