NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Profiling a build



At Wed, 03 Dec 2025 01:13:03 +0700, Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
Subject: Re: Profiling a build
>
>     Date:        Tue, 2 Dec 2025 06:23:00 +0000 (UTC)
>     From:        Benny Siegert <bsiegert%netbsd.org@localhost>
>     Message-ID:  <210a5d85-783d-700f-dd94-f1b11ebd0e73%netbsd.org@localhost>
>
>   | Should I be looking at dtrace for that? Or is there something simpler?
>
> I'd just enable process accounting (accton(8)) - clear everything before
> you start, disable it again when the build is done, and then use sa(8)
> with as many different options and combinations as you can imagine, and
> most of the data you're looking for should be available.

I concur, though unfortunately I've never seen any useful I/O accounting
from NetBSD.

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpc1NgeYIBIK.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index