> I have no objections based on your description, but I'm curious what python
> code is complicated enough to need DPRINTFs. Also, how would you expect the
> syntax for defining traceflags to change?

As for python, we keep moving stuff from C++ to python, so more and
more of the framework is there.  Stats is my current big example.

I figured out that the syntax doesn't really have to change.
Basically instead of generating a monolithic "traceflags.hh" (and cc
file).  I generate one per flag.  This now requires that you have to
add a #include "trace/FlagName.hh" in order to use a flag, but there's
an awesome side benefit to this in that the entire source tree will no
longer be rebuilt as a side effect of adding a flag.

It was all pretty easy to do.  A diff will be coming soon.

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

Reply via email to