public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* A plugin for -ftime-trace like tracing in GCC
@ 2023-02-21 16:30 Roy Jacobson
  0 siblings, 0 replies; only message in thread
From: Roy Jacobson @ 2023-02-21 16:30 UTC (permalink / raw)
  To: gcc

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

There were some discussions here about -ftime-trace. I've written a GCC
plugin with similar functionality last year:
https://github.com/royjacobson/externis. It works at least on GCC11 and
GCC12.
It was written by practically reverse engineering the GCC AST and can only
make use of the GCC plugin callbacks, which are very limited, so the
information it provides is sometimes inaccurate and heuristic. But maybe it
can help by providing something to iterate on.

Cheers,
Roy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-21 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 16:30 A plugin for -ftime-trace like tracing in GCC Roy Jacobson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).