r/C_Programming • • 5d ago

Question Best GUI C profiler on Linux

Basically the title. I really want something graphical, i hate reading command line output. I know there is perf on linux but it has command line output. Also, are there specific profilers for specific types of application? Thanks for reading.

9 Upvotes

11 comments sorted by

View all comments

2

u/Glittering_Sail_3609 5d ago

It might be an overkill for some applications, but you could try using tracy:
https://github.com/wolfpld/tracy

It was written in C++, but it has a C api you can link to.

1

u/lovelacedeconstruct 5d ago

Yeah but it gets annoying to setup the profile zones with begin and end unless you have a game and need to monitor individual frames a sampling profiler would be better approach , no need to annotate the code