From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org> To: Mikhail Shishatskiy <m.shishatskiy@tarantool.org> Cc: tarantool-patches@dev.tarantool.org Subject: Re: [Tarantool-patches] [PATCH luajit v2 1/3] memprof: add symbol epochs Date: Tue, 15 Mar 2022 10:56:49 +0300 [thread overview] Message-ID: <YjBGwYOLcfxeMV3J@root> (raw) In-Reply-To: <20211202110329.664738-2-m.shishatskiy@tarantool.org> Hi! Thanks for the patch! Please, sorry for such long response. LGTM, except a few nits regarding the commit message. Also, maybe we should add some tests to the patch? Case for traces looks easy, doesn't it? On 02.12.21, Mikhail Shishatskiy wrote: > There may be situations, when new prototype or trace has the same > address than the previously dumped one. In this case, the new symtab > entry will shadow the preceeding, and if we demangle symbols when all Typo: s/preceeding/preceding one/ > the events are parsed, we can get irrelevant information. > > For this reason, the symtab now stores not a single entry, but array of Typo: s/array/the array/ > entries for each location. The structure <loc> was extended by the field > <epoch> representing the generation of symtab entry associated with this > particular location entry. Also, the <utils/symtab.lua> API has extended > by function symtab.new_loc(symbols, addr, line, traceno) so that it can > assign an epoch for a new location. > > Part of tarantool/tarantool#5815 > --- -- Best regards, Sergey Kaplun
next prev parent reply other threads:[~2022-03-15 7:58 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-02 11:03 [Tarantool-patches] [PATCH luajit v2 0/3] memprof: enrich symtab when meeting new prototype Mikhail Shishatskiy via Tarantool-patches 2021-12-02 11:03 ` [Tarantool-patches] [PATCH luajit v2 1/3] memprof: add symbol epochs Mikhail Shishatskiy via Tarantool-patches 2022-03-15 7:56 ` Sergey Kaplun via Tarantool-patches [this message] 2021-12-02 11:03 ` [Tarantool-patches] [PATCH luajit v2 2/3] memprof: enrich symtab when meeting new prototype Mikhail Shishatskiy via Tarantool-patches 2022-01-19 16:56 ` Mikhail Shishatskiy via Tarantool-patches 2022-01-25 8:14 ` Sergey Kaplun via Tarantool-patches 2021-12-02 11:03 ` [Tarantool-patches] [PATCH luajit v2 3/3] memprof: substitute long proto names with aliases Mikhail Shishatskiy via Tarantool-patches 2022-01-25 10:12 ` Sergey Kaplun via Tarantool-patches 2022-04-12 14:30 ` [Tarantool-patches] [PATCH luajit v2 0/3] memprof: enrich symtab when meeting new prototype Igor Munkin via Tarantool-patches
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=YjBGwYOLcfxeMV3J@root \ --to=tarantool-patches@dev.tarantool.org \ --cc=m.shishatskiy@tarantool.org \ --cc=skaplun@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH luajit v2 1/3] memprof: add symbol epochs' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox