Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2025 12:17:56 -0800
From:      Bakul Shah <bakul@iitbombay.org>
To:        Steve Kargl <kargls@comcast.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: profiling a user executable?
Message-ID:  <CA0BC668-A292-4A1F-9DB8-6490826311EA@iitbombay.org>
In-Reply-To: <f32da5eb-1c80-48a2-a990-c762a8258495@comcast.net>
References:  <f32da5eb-1c80-48a2-a990-c762a8258495@comcast.net>

index | next in thread | previous in thread | raw e-mail

On Dec 11, 2025, at 10:13 AM, Steve Kargl <kargls@comcast.net> wrote:
> 
> In the days of yore, one could add the '-pg' option to
> the compilers options to generate profiling information,
> which could be consumed by gprof(1).

cc -pg seems to work for me but not gcc.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA0BC668-A292-4A1F-9DB8-6490826311EA>