BGLPROF(1)

πŸ“¦ version 4.7a, in arch rolling, fedora 43, fedora 44

✨ bglprof(1) ✨

okay so bestie, welcome to the bglprof page from the General Commands Manual πŸ’– pull up a chair, we're doing profiling today and it's gonna be iconic, no cap.


πŸŽ€ NAME πŸŽ€

bglprof β€” display call graph profile data for Bigloo programs

like, it shows you the whole call graph tea for your Bigloo situation πŸ‘‘ not me being obsessed with knowing which function is eating all the time πŸ’€


🌸 SYNOPSIS 🌸

bglprof [ options ] [ objfile [ gmon.out ] ]

that's it, that's the whole vibe. options if you want them, then objfile, then gmon.out β€” both optional, both cute πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

so bglprof is literally a front-end to the gprof program, periodt. any option that applied to gprof suits for bglprof β€” like, whatever gprof accepts, you can just hand it over, it's giving very generous πŸ’…

but here's the extra sprinkle ✨ bglprof also reads an extra monitoring file: the bmon.out file. where does that come from? it's generated when you execute a program that has been linked by Bigloo making use of the -p option. so yeah, -p at link time β†’ bmon.out appears β†’ bglprof is fed πŸ“

bestie, if you want the detailed documentation, see the glprof manual β€” that's where the full lore lives πŸ“–

🌈 OPTIONS 🌈

  • -v β€” verbose mode. she talks more. she tells you more. main character energy πŸ‘‘

🧚 EXAMPLE 🧚

here's the sequence of commands to get a Bigloo profile, bestie, copy it exactly bestie:

$ bigloo foo.scm -p -unsafe -O4 -c
$ bigloo foo.o -p -unsafe -O4 -c -o a.out
$ ./a.out
$ bglprof

compile it, link it, run it, then profile it β€” the four-step slay πŸ’… ate and left no crumbs 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

bigloo(1), prof(1), gprof(1)

the whole friend group fr fr πŸ’–


⭐ AUTHOR ⭐

Manuel SERRANO, Manuel.Serrano@inria.fr β€” the legend, the icon, the moment πŸ‘‘


and that's the page, bestie!! this was the bglprof(1) manual from the General Commands Manual, dated Aug 15 1998 β€” yeah she's an elder but she still serves πŸ’œ mwah, go profile something πŸŽ€βœ¨

πŸ“¦ where this page comes from