Luca Ferrari <fluca1...@gmail.com> writes: > On Mon, Sep 26, 2022 at 5:16 PM Ihor Radchenko <yanta...@gmail.com> wrote: >> I think you tried to use M-x profiler-stop instead of M-x profiler-report >> M-x profiler-report show yield a new buffer displayed the profiler tree. >> M-x profiler-write-profile will work from inside that buffer. > > I was careful to do the steps in the right order, and my message > buffer tells the profiler has been stopped after the write profiler > fails: > ... > profiler-write-profile: Wrong type argument: arrayp, nil > CPU and memory profiler stopped > Reverted buffer
This is strange. Did nothing happen after M-x profiler-report? Can you try again and check if *CPU-Profiler-Report ...* buffer exists in Emacs (... will be current date and time)? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92