o3-pipeview.py print_insts function missing argument

Description

The problem is as follows,

ubuntu@ubuntu-VirtualBox:~/gem5$ ./util/o3-pipeview.py -c 500 -o pipeview.out --color -t 0:100000 m5out/trace.out Processing trace... Traceback (most recent call last): File "./util/o3-pipeview.py", line 376, in <module> main() File "./util/o3-pipeview.py", line 365, in main process_trace(trace, out, options.cycle_time, options.width, File "./util/o3-pipeview.py", line 132, in process_trace print_insts(outfile, cycle_time, width, color, timestamps, 0) TypeError: print_insts() missing 1 required positional argument: 'lower_threshold'

The solution should be quite simple. Add one more argument (store_completions) in Line 132.

print_insts(outfile, cycle_time, width, color, timestamps, store_completions, 0)

Environment

Ubuntu 20.04, branch: stable, commit ea7d012c00e5555857ef999b88a8ec2bde801a1f

Activity

Show:

Hoa Nguyen April 12, 2021 at 10:26 PM

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Components

Created March 31, 2021 at 7:07 AM
Updated April 12, 2021 at 10:26 PM