summaryrefslogtreecommitdiff
path: root/util
AgeCommit message (Collapse)Author
2011-01-18mkblankimage: bash != sh on many systems and this script needs bashAli Saidi
2011-01-13Style checker: Fix a couple bugs in style.py.Gabe Black
2011-01-10style: prevent the style hook from aborting uncleanly because of an exceptionNathan Binkert
2011-01-10style: clean up style hook code a bitNathan Binkert
I've renamed the check_whitespace operation to check_style. You're going to need to change your .hg/hgrc file. While you're at it, add a pre-qrefresh hook please.
2010-12-30style: make style hook work with pre-qrefresh and update to use new codeNathan Binkert
clean up the code a little bit while we're at it. I recommend that everyone adds the pre-qrefresh hook below since it will make qref run the style hook and not just commit/qpush [extensions] style = <m5 path>/util/style.py [hooks] pretxncommit.style = python:style.check_whitespace pre-qrefresh.style = python:style.check_whitespace
2010-11-22X86: Remove reserved* from the m5 utility program for x86.Gabe Black
2010-11-08ARM: Add full-system regressionsAli Saidi
2010-11-08ARM: Add support for M5 ops in the ARM ISAAli Saidi
2010-08-12util/m5/m5.c: ensure readfile() buffer pages are in page tableJoel Hestness
(and marked dirty, in case that matters) by touching them beforehand
2010-07-05util: add a script for testing checkpointingSteve Reinhardt
See comments in util/checkpoint-tester.py for details.
2010-06-03utils: checkpoint aggregator: some physmem files are too big to read at once,Lisa Hsu
break it up into reading one page at a time. Also, avoid redoing a aggregating a checkpoint that's already done. --HG-- rename : util/checkpoint-aggregator.py => util/checkpoint_aggregator.py
2010-06-02ARM: Fixup native trace support and add some v7/recent stack codeAli Saidi
2010-05-02Statetrace: Fix compile problems with the AMD64 version of statetrace.Gabe Black
2010-03-23regress: add some new optionsNathan Binkert
add -n/--no-exec which doesn't execute scons, but just prints the command line add -j0 which tries to calculate how many cpus you have add -D/--build-dir to specify a build directory other than ./build
2010-01-29m5: Regression Tester UpdateBrad Beckmann
This patch includes the necessary regression updates to test the new ruby configuration system. The patch includes support for multiple ruby protocols and adds the ruby random tester. The patch removes atomic mode test for ruby since ruby does not support atomic mode acceses. These tests can be added back in when ruby supports atomic mode for real. --HG-- rename : tests/quick/50.memtest/test.py => tests/quick/60.rubytest/test.py
2010-01-23style_hook: Fix the style hookNathan Binkert
Re-enable it and update it for more modern versions of mercurial.
2010-01-22Automated merge with ssh://hg@m5sim.org/m5Derek Hower
2010-01-20copyrights: add copyright info to the files I added.Lisa Hsu
checkpoint-aggregator.py was written at UM so I added a UM copyright, agg_se.py was written at AMD so I added the AMD copyright.
2010-01-19util: do checkpoint aggregation more cleanly, fix last changeset.Lisa Hsu
1) Move alpha-specific code out of page_table.cc:serialize(). 2) Begin serializing M5_pid and unserializing it, but adding an function to do optional paramIn so that old checkpoints don't need to be fixed up. 3) Fix up alpha startup code so that the unserialized M5_pid value is properly written to DTB_IPR_ASN. 4) Fix the memory unserialize that I forgot somehow in the last changeset. 5) Add in an agg_se.py to handle aggregated checkpoints. --bench foo-bar plus positional arguments foo bar are the only changes in usage from se.py. Note this aggregation stuff has only been tested for Alpha and nothing else, though it should take a very minimal amount of work to get it to work with another ISA.
2010-01-19mergeDerek Hower
2010-01-18 util: make a generic checkpoint aggregator that can aggregate different ↵Lisa Hsu
cpts into one multi-programmed cpt. Make minor changes to serialization/unserialization to get it to work properly. Note that checkpoints were made with a comment at the beginning with // - this must be changed to ## to work properly with the python config parser in the aggregator.
2009-10-28regress: add POWER to regressionsNathan Binkert
2009-09-26rundiff: Don't flush stdout until after postcontext is printed.Steve Reinhardt
2009-09-22slicc: Pure python implementation of slicc.Nathan Binkert
This is simply a translation of the C++ slicc into python with very minimal reorganization of the code. The output can be verified as nearly identical by doing a "diff -wBur". Slicc can easily be run manually by using util/slicc
2009-09-17Functionality migrated to sequencer.Polina Dudnik
2009-08-21[mq]: first_patchPolina Dudnik
2009-07-29Statetrace: Make sure the current state is loaded to print the initial stack ↵Gabe Black
frame. The early call to child->step() was removed earlier because it confused the new differences-only protocol ARM sendState() was using. It's necessary that that gets called at least once before attempting to print the initial stack frame, though, because otherwise statetrace doesn't know what the stack pointer is. By putting the first call to child->step() in a common spot, both needs are met.
2009-07-29ARM: Make sure the target process doesn't run away from statetrace.Gabe Black
2009-07-27ARM: Only send information that changed between statetrace and M5.Gabe Black
2009-07-27imported patch statetracehost.patchGabe Black
2009-07-27ARM: Add ARM support to statetrace.Ali Saidi
2009-07-27Statetrace: Fix up headers.Gabe Black
2009-07-02stats: fix usage of jobfileNathan Binkert
2009-06-23makerelease: Don't hide x86 any more.Gabe Black
2009-06-23Regressions: Build ARM_SE regressions by default.Gabe Black
2009-05-22util: mkblankimage.sh should be executableSteve Reinhardt
2009-05-17includes: sort includes againNathan Binkert
2009-04-21rundiff: flush stdout after each diffSteve Reinhardt
2009-04-08style: fix style hook for some newer versions of mercurial.Nathan Binkert
2009-02-26CPA: Add m5ops for critical path annotation work.Ali Saidi
2009-01-24pseudo inst: Add new wake cpu instruction for sending a message to wake a cpu.Nathan Binkert
It's instantaneous and so it's somewhat bogus, but it's a first step.
2009-01-13Fix style hook for Mercurial >= 1.1Ali Saidi
2009-01-07X86: Set up support for adding m5 pseudo insts to a binary.Gabe Black
2008-12-03Add the mkblankimage.sh utility to the utils directory.Nathan Binkert
2008-12-03util/m5: Add a new function called pin to bind a program to a set of cores.Nathan Binkert
This is not m5 specific and this currently only works in linux.
2008-12-03util/m5: reorganize code so it is easier to add operationsNathan Binkert
2008-11-17Minor tracediff bug fixes.Steve Reinhardt
2008-11-15Remove the pointless, repository destroying assertion and just have the ↵Clint Smullen
script check every line in the file if it cannot get context information.
2008-11-10pseudo inst: Add rpns (read processor nanoseconds) instruction.Nathan Binkert
This instruction basically returns the number of nanoseconds that the CPU has been running.
2008-11-06tracediff: add '#' support for sub-arg alternatives, '-n' paramSteve Reinhardt