Even with debug symbols, my flame graph does not show calling functions. Looking at /proc/<pid>/exe, I see the debug symbols:
lrwxrwxrwx. 1 opc opc 0 Dec 3 03:28 exe -> /var/odo/pyenv/chlulu/.pyenv/versions/pypy3.8-7.3.9/bin/pypy3 [opc@x9-test2 105045]$ readelf -S exe | grep .debug [26] .debug_aranges PROGBITS 0000000000000000 00003093 [27] .debug_info PROGBITS 0000000000000000 000030c3 [28] .debug_abbrev PROGBITS 0000000000000000 00003189 [29] .debug_line PROGBITS 0000000000000000 00003221 [30] .debug_str PROGBITS 0000000000000000 00003269 [31] .debug_loc PROGBITS 0000000000000000 0000331c The calling function just says unknown. Any idea how I can help prof identify all of the ancestry of each function in the profile? --Buddy On Sat, Dec 2, 2023 at 1:18 AM Buddy Lumpkin <buddy.lump...@gmail.com> wrote: > > Thanks for the response, I wasn't sure if my email sent. I figured it > out a hour or so after I sent the email. > > Regards, > > --Buddy > > On Sat, Dec 2, 2023 at 12:14 AM Armin Rigo <armin.r...@gmail.com> wrote: > > > > Hi, > > > > On Sat, 2 Dec 2023 at 04:14, <buddy.lump...@gmail.com> wrote: > > in pypy_g_ArenaCollection_rehash_arena_lists. Unfortunately, I can't > > see the rest of the call stack, so I am trying to compile a debug > > version of pypy. > > > > > > I followed the instructions here: > > > https://doc.pypy.org/en/latest/build.html > > > > > > I'm at the step where it tells you to run: > > > > > > make lldebug or make lldebug0, and i'm realizing there is no such target. > > > Please help! > > > > This paragraph in the instructions is not talking about the top-level > > Makefile. It is talking about the Makefile generated along all the > > generated C files in the temporary directory, in > > /tmp/usession-*/testing_1/. > > > > > > Armin Rigo _______________________________________________ pypy-dev mailing list -- pypy-dev@python.org To unsubscribe send an email to pypy-dev-le...@python.org https://mail.python.org/mailman3/lists/pypy-dev.python.org/ Member address: arch...@mail-archive.com