Re: DWARF support

2021-11-19 Thread Artem Pelenitsyn
Thanks everyone! A blog post would be awesome, indeed. Ben, I didn't have anything particular in mind, just curious about possibly more ergonomic alternatives to profiling builds for getting this sort of information. (Motivation similar to Richard's, I think.) On Fri, Nov 19, 2021, 1:57 AM Sven

Re: DWARF support

2021-11-18 Thread Sven Tennie
Am Fr., 19. Nov. 2021 um 01:09 Uhr schrieb Ben Gamari : > Artem Pelenitsyn writes: > > > Another question would be where do I read about Haskell-native stack > > unwinder. The issue and MR Ben referenced have descriptions, but the MR > > didn't touch anything inside `docs` which is a bit scary.

Re: DWARF support

2021-11-18 Thread Ben Gamari
Artem Pelenitsyn writes: > Another question would be where do I read about Haskell-native stack > unwinder. The issue and MR Ben referenced have descriptions, but the MR > didn't touch anything inside `docs` which is a bit scary. Are there any > good recourses to dive into it besides the source

Re: DWARF support

2021-11-18 Thread Artem Pelenitsyn
h DWARF any >> single object lacking debug information would break unwinding), and is >> significantly less costly since we know much more about the structure of >> our stack than a DWARF unwinder would. >> >> >> Interesting -- this is helpful to know. I had h

Re: DWARF support

2021-11-18 Thread Chris Smith
y less costly since we know much more about the structure of > our stack than a DWARF unwinder would. > > > Interesting -- this is helpful to know. I had heard about DWARF support > for some years and thought that it would deliver stack traces. Now I will > look for other sourc

Re: DWARF support

2021-11-18 Thread Richard Eisenberg
> single object lacking debug information would break unwinding), and is > significantly less costly since we know much more about the structure of > our stack than a DWARF unwinder would. Interesting -- this is helpful to know. I had heard about DWARF support for some years and thought tha

Re: DWARF support

2021-11-18 Thread Ben Gamari
Richard Eisenberg writes: > Thanks for this! > >> On Nov 17, 2021, at 7:27 AM, Moritz Angermann >> wrote: >> >> For Linux and most BSDs, we have settled on the Executable and Linking >> Format (ELF) as the container format for >> your machine code. And you might see where the inspiration

Re: DWARF support

2021-11-18 Thread Ben Gamari
-1.html. These are very > helpful! In particular, they taught me that DWARF = platform-native > debugging metadata. Is that translation accurate? If so, perhaps we > should use both names: if I see that GHC x.y.z has DWARF support, I > quickly scroll to the next bullet. If I see tha

Re: DWARF support

2021-11-17 Thread Andreas Klebinger
Am 17/11/2021 um 17:08 schrieb Richard Eisenberg: For windows we have Portable Executable (PE) as the container format. This implies that the DWARF work is (unsurprisingly) completely inapplicable for Windows. It's not quite as simple. Dwarf info can be embedded into windows

Re: DWARF support

2021-11-17 Thread Richard Eisenberg
Thanks for this! > On Nov 17, 2021, at 7:27 AM, Moritz Angermann > wrote: > > For Linux and most BSDs, we have settled on the Executable and Linking Format > (ELF) as the container format for > your machine code. And you might see where the inspiration for DWARF might > come from. This

Re: DWARF support

2021-11-17 Thread Moritz Angermann
Thanks Carter! Yes I completely forgot about the unwinding librarys. Sorry. My bad! Best, Moritz On Wed 17. Nov 2021 at 21:08, Carter Schonwald wrote: > My understanding is that the platform specific part of ghc dwarf support > atm is the stack walking to generate dwarf data in stack

Re: DWARF support

2021-11-17 Thread Carter Schonwald
My understanding is that the platform specific part of ghc dwarf support atm is the stack walking to generate dwarf data in stack traces. This is because the dwarf stack walking Libs that are relatively mature are mostly centered around elf? It should still be possible with some work to use perf

Re: DWARF support

2021-11-17 Thread Moritz Angermann
are very > helpful! In particular, they taught me that DWARF = platform-native > debugging metadata. Is that translation accurate? If so, perhaps we should > use both names: if I see that GHC x.y.z has DWARF support, I quickly scroll > to the next bullet. If I see that GHC x.y.z has sup

DWARF support

2021-11-17 Thread Richard Eisenberg
= platform-native debugging metadata. Is that translation accurate? If so, perhaps we should use both names: if I see that GHC x.y.z has DWARF support, I quickly scroll to the next bullet. If I see that GHC x.y.z has support for platform-native debugging metadata and is now compatible with e.g

How's the integration of DWARF support coming along?

2014-08-13 Thread Johan Tibell
Hi, How's the integration of DWARF support coming along? It's probably one of the most important improvements to the runtime in quite some time since unlocks *two* important features, namely * trustworthy profiling (using e.g. Linux perf events and other low-overhead, code preserving, sampling

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Johan Tibell
On Wed, Aug 13, 2014 at 5:07 PM, Tuncer Ayaz tuncer.a...@gmail.com wrote: On Wed, Aug 13, 2014 at 5:02 PM, Johan Tibell wrote: Hi, How's the integration of DWARF support coming along? It's probably one of the most important improvements to the runtime in quite some time since unlocks

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Ömer Sinan Ağacan
Is this stack trace support different than what we have currently? (e.g. the one implemented with GHC.Stack and cost centers) --- Ömer Sinan Ağacan http://osa1.net 2014-08-13 18:02 GMT+03:00 Johan Tibell johan.tib...@gmail.com: Hi, How's the integration of DWARF support coming along? It's

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Ömer Sinan Ağacan
currently? (e.g. the one implemented with GHC.Stack and cost centers) --- Ömer Sinan Ağacan http://osa1.net 2014-08-13 18:02 GMT+03:00 Johan Tibell johan.tib...@gmail.com: Hi, How's the integration of DWARF support coming along? It's probably one of the most important improvements

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Ömer Sinan Ağacan
with GHC.Stack and cost centers) --- Ömer Sinan Ağacan http://osa1.net 2014-08-13 18:02 GMT+03:00 Johan Tibell johan.tib...@gmail.com: Hi, How's the integration of DWARF support coming along? It's probably one of the most important improvements to the runtime in quite some time since

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Johan Tibell
: Is this stack trace support different than what we have currently? (e.g. the one implemented with GHC.Stack and cost centers) --- Ömer Sinan Ağacan http://osa1.net 2014-08-13 18:02 GMT+03:00 Johan Tibell johan.tib...@gmail.com: Hi, How's the integration of DWARF support

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Arash Rouhani
://arashrouhani.com/papers/master-thesis.pdf On 2014-08-13 17:02, Johan Tibell wrote: Hi, How's the integration of DWARF support coming along? It's probably one of the most important improvements to the runtime in quite some time since unlocks *two* important features, namely * trustworthy

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Johan Tibell
://arashrouhani.com/papers/master-thesis.pdf On 2014-08-13 17:02, Johan Tibell wrote: Hi, How's the integration of DWARF support coming along? It's probably one of the most important improvements to the runtime in quite some time since unlocks *two* important features, namely

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Arash Rouhani
On 2014-08-13 17:02, Johan Tibell wrote: Hi, How's the integration of DWARF support coming along? It's probably one of the most important improvements to the runtime in quite some time since unlocks *two* important features, namely * trustworthy profiling (using e.g. Linux perf

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Peter Wortmann
-thesis.pdf On 2014-08-13 17:02, Johan Tibell wrote: Hi, How's the integration of DWARF support coming along? It's probably one of the most important improvements to the runtime in quite some time since unlocks *two* important features, namely * trustworthy profiling (using e.g. Linux perf

Re: How's the integration of DWARF support coming along?

2014-08-13 Thread Peter Wortmann
the integration of DWARF support coming along? It's probably one of the most important improvements to the runtime in quite some time since unlocks *two* important features, namely * trustworthy profiling (using e.g. Linux perf events and other low-overhead, code preserving, sampling profilers