you know you're having fun when
=> More informations about this toot | More toots from jyn@tech.lgbt
'5' is apparently _URC_END_OF_STACK, which i found by reading through libgcc_s sources
=> More informations about this toot | More toots from jyn@tech.lgbt
i wonder if there exists a tool which can record the program execution and play back the callgraph
like rr but it prints out a tree instead of being interactive
then i could diff two different program executions
=> More informations about this toot | More toots from jyn@tech.lgbt
someone gave me the idea to script gdb to dump all the calls to a json file and then view them in https://fx.wtf/
=> More informations about this toot | More toots from jyn@tech.lgbt
@jyn pernosco seems rly cool and the closest to that i'm aware of
=> More informations about this toot | More toots from hipsterelectron@circumstances.run
@jyn sounds useful for PGO stuff too
=> More informations about this toot | More toots from hipsterelectron@circumstances.run
@hipsterelectron i suspect the profiler runtime already has this information internally and uses it for PGO but just doesn’t expose it in any way
=> More informations about this toot | More toots from jyn@tech.lgbt
@jyn yes!
=> More informations about this toot | More toots from hipsterelectron@circumstances.run
@jyn there may also be tooling for linux perf to do this
=> More informations about this toot | More toots from hipsterelectron@circumstances.run
@jyn doesn't give you the kind of tracing profiling you probably want in order to do real diffs though since perf is strictly sampling iirc
=> More informations about this toot | More toots from hipsterelectron@circumstances.run
@hipsterelectron @jyn built by the author of rr, too.
=> More informations about this toot | More toots from tedmielczarek@mastodon.social
@jyn whoa this looks like a fun tool
=> More informations about this toot | More toots from aburka@hachyderm.io This content has been proxied by September (3851b).Proxy Information
text/gemini