Hello,

I wonder if there is some way to easily add signal handling to start tracing (--trace-start) and to switch cpus (/sbin/m5 switchcpu). I have a fairly long-running application and I'd really like to be able to watch it and send the signals when it gets to my region of interest...it's simpler than recompiling and adding system calls. User input also affects runtimes, so I can't really set a particular time to start tracing.

I see that there are a variety of signal handlers in /src/sim/init.cc, but I'm not sure what to do to perform these actions. Any ideas? Thanks.

Joe
_______________________________________________
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to