Skip to content

mac 12.4 crashed  #69

@jeffery9

Description

@jeffery9
$ psrecord 49119 --plot ~/prof.png --duration 60
Attaching to process 49119
Traceback (most recent call last):
  File "/Users/jeffery/Library/Python/3.8/bin/psrecord", line 7, in <module>
    sys.exit(psrecord.main())
  File "/Users/jeffery/Library/Python/3.8/lib/python/site-packages/psrecord/main.py", line 103, in main
    monitor(pid, logfile=args.log, plot=args.plot, duration=args.duration,
  File "/Users/jeffery/Library/Python/3.8/lib/python/site-packages/psrecord/main.py", line 219, in monitor
    ax.set_ylim(0., max(log['cpu']) * 1.2)
ValueError: max() arg is an empty sequence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions