[Draft] GSoC 2025 Proposal: Implementing Clang's -ftime-trace Feature in GCC
Andi Kleen
andi@firstfloor.org
Tue Apr 1 02:32:46 GMT 2025
On Mon, Mar 31, 2025 at 11:14:47PM +0300, Eldar Kusdavletov wrote:
> I wanted to follow up on my previous email regarding my interest in
> participating in Google Summer of Code with GCC. I saw the discussion in the
> thread, but it seems there was no final confirmation.
>
> Could you please let me know if everything is in order and whether I can
> proceed with submitting my application? I would really appreciate any guidance
> on the next steps.
It might be useful if you write a more concrete proposal
that stands by itself, and not just says "it's like clang"
I haven't found a clear spec what clang does exactly.
I assume it's like timevars, but somehow higher level
and it does most of its accounting per function and outputs the result as a
JSON file that can be read by Chrome.
But overall it seems like a reasonable proposal to implement
on top of the existing timevar infrastructure in the pass manager,
as long as you can define what "the higher level" means exactly
and how it relates to the existing timevars.
-Andi
More information about the Gcc
mailing list