summaryrefslogtreecommitdiff
path: root/util
AgeCommit message (Collapse)Author
2011-05-04ARM: Add vfpv3 support to native trace.Ali Saidi
2011-04-29Util: Replace mkblankimage.sh with the new gem5img.py.Gabe Black
This change replaces the mkblankimage.sh script, used for creating new disk images, with a new gem5img.py script. The new version is written in python instead of bash, takes its parameters from command line arguments instead of prompting for them, and finds a free loopback device dynamically instead of hardcoding /dev/loop1. The file system used is now optionally configurable, and the blank image is filled by a "hole" left by lseek and write instead of literally filling it with zeroes. The functionality of the new script is broken into subcommands "init", "mount", "umount", "new", "partition", and "format". "init" creates a new file of the appropriate size, partitions it, and then formats the first (and only) new parition. "mount" attaches a new loopback device to the first parition of the image file and mounts it to the specified mount point. "umount" unmounts the specified mount point and identifies and cleans up the underlying loopback device. "new", "partition", and "format" are the individual stages of "init" but broken out so they can be run individually. That's so an image can be reinitialized in place if needed. Two features of the original script are being dropped. The first is the ability to specify a source directory to copy into the new file system. The second is the ability to specify a list of commands to run which are expected to (but not required to) update the permissions of the files in the new fs. Both of these seem easy enough to do manually, especially given the "mount" and "umount" commands, that removing them would meaningfully simplify the script without making it less useful.
2011-04-20Change default regression build from 'fast' to 'opt'Steve Reinhardt
2011-04-17style: fix all_regions code and remove bogus region typeNathan Binkert
2011-04-17style: remove extra debugging printNathan Binkert
2011-04-17file_types: Make code work in Python 2.4Nathan Binkert
2011-04-15includes: sort all includesNathan Binkert
2011-04-15style: add sort_includes to the style hookNathan Binkert
2011-04-15style: move style verifiers into classesNathan Binkert
2011-04-15style: add a user interface wrapper classNathan Binkert
makes things work both with mercurial and stand alone with stdio
2011-04-15util: python implementation of a routine that will sort includesNathan Binkert
I didn't realize that the perl version existed when I started this, this version has a lot more features than the previous one since it will sort and separate python, system, and m5 headers in separate groups, it will remove duplicates, it will also convert c headers to stl headers
2011-04-13util: fix the language type functionNathan Binkert
2011-03-19util: update aggregator to handle x86 checkpoints.Lisa Hsu
Also, make update to understand some of the newer serialized variables
2011-03-12Regressions: Make X86_FS run automatically.Gabe Black
2011-03-03SCons: Turn some scons variables into command line options.Gabe Black
2011-03-02Statetrace: Stub out the missing i386 version of sendState.Gabe Black
2011-03-02Statetrace: Rename i386 to i686.Gabe Black
--HG-- rename : util/statetrace/arch/i386/tracechild.cc => util/statetrace/arch/i686/tracechild.cc rename : util/statetrace/arch/i386/tracechild.hh => util/statetrace/arch/i686/tracechild.hh
2011-03-02Statetrace: Fix the i686 detection macro.Gabe Black
2011-03-02Statetrace: Use sys/user.h instead of linux/user.h.Gabe Black
2011-03-02Statetrace: Tweak the help for the -nt option.Gabe Black
2011-03-02Statetrace: Accomodate cross compiling statetrace with scons.Gabe Black
--HG-- rename : util/statetrace/arch/tracechild_amd64.cc => util/statetrace/arch/amd64/tracechild.cc rename : util/statetrace/arch/tracechild_amd64.hh => util/statetrace/arch/amd64/tracechild.hh rename : util/statetrace/arch/tracechild_arm.cc => util/statetrace/arch/arm/tracechild.cc rename : util/statetrace/arch/tracechild_arm.hh => util/statetrace/arch/arm/tracechild.hh rename : util/statetrace/arch/tracechild_i386.cc => util/statetrace/arch/i386/tracechild.cc rename : util/statetrace/arch/tracechild_i386.hh => util/statetrace/arch/i386/tracechild.hh rename : util/statetrace/arch/tracechild_sparc.cc => util/statetrace/arch/sparc/tracechild.cc rename : util/statetrace/arch/tracechild_sparc.hh => util/statetrace/arch/sparc/tracechild.hh rename : util/statetrace/tracechild_arch.cc => util/statetrace/base/arch_check.h rename : util/statetrace/regstate.hh => util/statetrace/base/regstate.hh rename : util/statetrace/statetrace.cc => util/statetrace/base/statetrace.cc rename : util/statetrace/tracechild.cc => util/statetrace/base/tracechild.cc rename : util/statetrace/tracechild.hh => util/statetrace/base/tracechild.hh
2011-03-02Statetrace: Convert the build to scons.Gabe Black
2011-03-02Statetrace: Allow the user to override CXX.Gabe Black
2011-03-02Statetrace: Get rid of explicit register name handling.Gabe Black
2011-03-02Statetrace: Kill the printer functionality in statetrace.Gabe Black
2011-03-02Statetrace: Clean up style.Gabe Black
2011-02-15Util: Get rid of the make_release.py script.Gabe Black
Since we're not doing releases any more we don't really need this script. If we need it in the future, we can resurrect it from the history.
2011-02-06m5: added work completed monitoring supportBrad Beckmann
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