Sometimes you've got to use the source... from src/python/m5/main.py:

    option("--debug-ignore", metavar="EXPR", action='append', split=':',
        help="Ignore EXPR sim objects")

Apparently colon is supposed to be the delimiter.  The 'split' option is a
Nate extension (see src/python/m5/options.py), so if colon is not actually
working, it could be a bug.  The "action='append'" part means that you can
also specify --debug-ignore more than once to get the same effect, and
that's built in to python optparse, so it's much less likely to be buggy.

BTW, the --trace-* options were changed to --debug-* a while ago, so you
may have an old version, but you can check your source to see if these
comments still apply.

Steve



On Sat, Oct 11, 2014 at 12:24 AM, Marcus Tshibangu via gem5-users <
gem5-users@gem5.org> wrote:

> when I use *--trace-ignore='system.cpu0'*, I ignore everything related to
> cpu0 from trace file. but if I try *--trace-ignore='system.cpu0;system.cpu1'
> *hoping that I can ignore also cpu1, it doesn't work. what is the best
> separator for multiple simObjects in EXPR. I have tried comma, semicolon,
> colon ,..., all types of separator but nothing seems to work. any idea? the
> trace file is so big but i only need L2 cache trace info
>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to