]> git.eshelyaron.com Git - emacs.git/commit
* src/eval.c (get_backtrace): Don't skip the top frame
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 22 Jul 2023 21:20:51 +0000 (17:20 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 22 Jul 2023 21:35:18 +0000 (17:35 -0400)
commitf37c65b402f8a054fed9a3d6234cb7f85da3621a
tree5e97831140bf5872d37cd5f7e6178c42318608e2
parent5d2d28458d0eb378a7e94363ef716e8648ef129a
* src/eval.c (get_backtrace): Don't skip the top frame

`profiler.el` was reporting incomplete backtraces.
I had a suspicion there was something off, but it became obvious
when I saw that `set-buffer-multibyte` did not appear in the
`profiler-report` output when opening a large compressed tarball,
even though I knew it to be a large contributor (which `elp-results`
confirmed).

I have no idea why this `backtrace_next` was there, sadly, but now
`profiler-report` gives me results that make a lot more sense.
src/eval.c