Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-11 Thread Segher Boessenkool
On Thu, Jul 11, 2019 at 01:25:18PM +0100, Nix wrote: > On 10 Jul 2019, Segher Boessenkool spake thusly: > > > On Fri, Jul 05, 2019 at 07:28:12PM +0100, Nix wrote: > >> On 5 Jul 2019, Richard Biener said: > >> > >> > On Fri, Jul 5, 2019 at 12:21 AM Indu Bhagat > >> > wrote: > >> >> CTF, at this

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-11 Thread Nix
On 10 Jul 2019, Segher Boessenkool spake thusly: > On Fri, Jul 05, 2019 at 07:28:12PM +0100, Nix wrote: >> On 5 Jul 2019, Richard Biener said: >> >> > On Fri, Jul 5, 2019 at 12:21 AM Indu Bhagat wrote: >> >> CTF, at this time, is type information for entities at global or file >> >> scope. >> >

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-11 Thread Nix
[Sorry for delay: head down in linker plus having nice food poisoning bouts] On 9 Jul 2019, Mike Stump verbalised: > On Jul 5, 2019, at 11:28 AM, Nix wrote: >> ICTF for the entire Linux kernel is about 6MiB > > Any reason why not add CTF to the next dwarf standard? Then, we just > support the n

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-09 Thread Jeff Law
On 7/9/19 5:25 PM, Segher Boessenkool wrote: > On Fri, Jul 05, 2019 at 07:28:12PM +0100, Nix wrote: >> On 5 Jul 2019, Richard Biener said: >> >>> On Fri, Jul 5, 2019 at 12:21 AM Indu Bhagat wrote: CTF, at this time, is type information for entities at global or file scope. This can

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-09 Thread Segher Boessenkool
On Fri, Jul 05, 2019 at 07:28:12PM +0100, Nix wrote: > On 5 Jul 2019, Richard Biener said: > > > On Fri, Jul 5, 2019 at 12:21 AM Indu Bhagat wrote: > >> CTF, at this time, is type information for entities at global or file > >> scope. > >> This can be used by online debuggers, program tracers (d

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-09 Thread Mike Stump
On Jul 5, 2019, at 11:28 AM, Nix wrote: > ICTF for the entire Linux kernel is about 6MiB Any reason why not add CTF to the next dwarf standard? Then, we just support the next dwarf standard. If not, have you started talks with them to add it? Long term, this is a better solution, as we then g

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-09 Thread Indu Bhagat
On 07/04/2019 03:43 AM, Richard Biener wrote: Hmm...a GCC plugin for CTF generation at compile-time may work out for a single compilation unit. But I am not sure how will LTO be supported in that case. Basically, for LTO and -gtLEVEL to work together, I need the lto-wrapper to be aware of the

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-08 Thread Nix
On 5 Jul 2019, Jakub Jelinek outgrape: > On Fri, Jul 05, 2019 at 07:28:12PM +0100, Nix wrote: >> > What makes it superior to DWARF stripped down to the above feature set? >> >> Increased compactness. DWARF fundamentally trades off compactness in >> favour of its regular structure, which makes it

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-05 Thread Jakub Jelinek
On Fri, Jul 05, 2019 at 07:28:12PM +0100, Nix wrote: > > What makes it superior to DWARF stripped down to the above feature set? > > Increased compactness. DWARF fundamentally trades off compactness in > favour of its regular structure, which makes it easier to parse (but not > easier to interpret

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-05 Thread Nix
On 5 Jul 2019, Richard Biener said: > On Fri, Jul 5, 2019 at 12:21 AM Indu Bhagat wrote: >> CTF, at this time, is type information for entities at global or file scope. >> This can be used by online debuggers, program tracers (dynamic tracing); More >> generally, it provides type introspection fo

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-05 Thread Richard Biener
On Fri, Jul 5, 2019 at 12:21 AM Indu Bhagat wrote: > > On 07/04/2019 03:43 AM, Richard Biener wrote: > > On Thu, Jul 4, 2019 at 2:36 AM Indu Bhagat wrote: > > [...] > > RE subset of C : It is true that CTF format currently does leave out a very > small subset of C like FIXED_POINT as you noted (

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-04 Thread Indu Bhagat
On 07/04/2019 03:43 AM, Richard Biener wrote: On Thu, Jul 4, 2019 at 2:36 AM Indu Bhagat wrote: [...] RE subset of C : It is true that CTF format currently does leave out a very small subset of C like FIXED_POINT as you noted ( CTF does have representation for COMPLEX_TYPE, if my code paths cul

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-04 Thread Richard Biener
On Thu, Jul 4, 2019 at 2:36 AM Indu Bhagat wrote: > > > On 07/03/2019 05:31 AM, Richard Biener wrote: > > On Wed, Jul 3, 2019 at 5:18 AM Jeff Law wrote: > >> On 7/2/19 11:54 AM, Indu Bhagat wrote: > >>> Ping. > >>> Can someone please review these patches ? We would like to get the > >>> support f

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-03 Thread Indu Bhagat
On 07/03/2019 05:31 AM, Richard Biener wrote: On Wed, Jul 3, 2019 at 5:18 AM Jeff Law wrote: On 7/2/19 11:54 AM, Indu Bhagat wrote: Ping. Can someone please review these patches ? We would like to get the support for CTF integrated soon. I'm not sure there's really even consensus that we wa

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-03 Thread Indu Bhagat
On 07/02/2019 08:18 PM, Jeff Law wrote: On 7/2/19 11:54 AM, Indu Bhagat wrote: Ping. Can someone please review these patches ? We would like to get the support for CTF integrated soon. I'm not sure there's really even consensus that we want CTF support in GCC. Though I think that the change

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-03 Thread Richard Biener
On Wed, Jul 3, 2019 at 5:18 AM Jeff Law wrote: > > On 7/2/19 11:54 AM, Indu Bhagat wrote: > > Ping. > > Can someone please review these patches ? We would like to get the > > support for CTF integrated soon. > I'm not sure there's really even consensus that we want CTF support in > GCC. Though I

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-02 Thread Jeff Law
On 7/2/19 11:54 AM, Indu Bhagat wrote: > Ping. > Can someone please review these patches ? We would like to get the > support for CTF integrated soon. I'm not sure there's really even consensus that we want CTF support in GCC. Though I think that the changes you've made in the last several weeks d

Re: [PATCH,RFC,V3 0/5] Support for CTF in GCC

2019-07-02 Thread Indu Bhagat
Ping. Can someone please review these patches ? We would like to get the support for CTF integrated soon. Thanks Indu On Wed, Jun 26, 2019 at 11:38 PM Indu Bhagat wrote: > > Hello, > > This patch series adds support for CTF generation in GCC. > > [Changes from V2] > - Patch 1, 2, and 3 have mino