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.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba4b78409fdc2d0f4ec468316fc22308bf0924fdf5fc029e6f59b26d1ba375c7 |
|
MD5 | 17cac0ee93f1c5fdef52735aef2e99dd |
|
BLAKE2b-256 | 63362a8a0406beccd98465516023f452ca20153ac6587629fe01cb88c003ba9e |
Close
Hashes for anycore_dbg_supplement-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f35ab2089f05cc2c5c0ed40fd7f6936b7f61fd278efef0f15fbf24587a57a84 |
|
MD5 | e10b5492d470369f3689fe41d0025aa2 |
|
BLAKE2b-256 | d9d6f289b739977fa8031d7a0e65c26723045a11405362d4a2733cb539096837 |