A bundle of auxiliary scripts for the Anycore project
Project description
Pre-Simulation readiness checking
Checkpointing/SyscallAnalysis/prerun_check.py
- Perform a prerun check based on the info in manifest DB.Checkpointing/SyscallAnalysis/generate_manifest.py
- Analyze the System Call trace for an entire SPEC simulation (dumped by a special version of spike). Then produce the manifest for it. Finally save the manifest into DB.
Misc.
SpecResultVerification/spike_trim.py
- Trim out the extra header/tail message produced by spike or pk during the simulation. Useful if you want to automatically verify the STDOUT output of a SPEC simulation.Checkpointing/ChkptDescFileGen/smpt2ckptdesc.py
- Convert the Simpoint output file to the checkpoint job description file accepted by Spike.Checkpointing/DumpHTIF/chkpt_htif_dump.py
- Show the HTIF syscalls recorded in a checkpoint file. When restoring a checkpoint, those syscalls will be executed in sequence to bring back the state of HTIF FESVR.TetherSim/SimTetheringController.py
- Controller for 721sims working in tethering mode.
To work with trace dump
-
CpuTraceAnalysis/trace2google.py
- Analyze the trace dumped by spike or 721sim and output the result in Google's Trace Event Format. -
To visualize the result, use speedscope (recommend) or Chromium's about://tracing .
- if
ignore_symbol.yaml
exists in CWD, it will be read to filter out the defined function calls. SeeCpuTraceAnalysis/ignore_symbol.yaml
for an example.
- if
-
CpuTraceAnalysis/trace2tracevis.py
- Analyze and visualize the trace dumped by spike or 721sim in a homebrew timeline frontend (using timeline-js).- if
ignore_symbol.yaml
exists in CWD - Will be read to filter out the defined function calls. SeeCpuTraceAnalysis/ignore_symbol.yaml
for an example. - It's recommended to use
trace2google.py
. Because the trace_vis frontend uses timeline-js, which is not intended for visualizing tracing result, it can be very slow and unresponsive when working with trace with a large amount of event.
- if
Viewing the trace2google.py output with speedscope
Viewing the trace2google.py output with Chrome's about:tracing
Viewing the trace using homebrew TraceVis frontend (use timeline-js)
WIP.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for anycore-dbg-supplement-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeed3341d29e83c0422c2d0257e01d89f604500e59769faae56d01b26664b76e |
|
MD5 | ced9b6daa752ab7a71f12c91a10995cc |
|
BLAKE2b-256 | 04478f5bb66e6219f71d85687b0fa6e8a4583b549a485b54588fa9e165e8236a |
Close
Hashes for anycore_dbg_supplement-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7ecaaf73078f042dc7b566238a7480680fadde3b5725e0146f0dfcabb1b463 |
|
MD5 | ed8ef13764870c1d7727a1ef28094139 |
|
BLAKE2b-256 | 1ed3f6b8b5ff46ff9708b25cc014d1b2ec31d9c6a4c7f9aa604eaf5546524f89 |