Date: Thu, 28 Feb 2019 18:10:39 -0800 From: Enji Cooper <yaneurabeya@gmail.com> To: Matthew Macy <mmacy@freebsd.org> Cc: Alan Somers <asomers@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org> Subject: Re: svn commit: r344487 - in head/sys: conf gnu/gcov Message-ID: <710DC3F1-CEBA-4450-B484-7E4A94CDB67D@gmail.com> In-Reply-To: <CAPrugNrnKeDkqsqDtPyTCsPBK6rUsAThog1KO1u3FPCGihD3sw@mail.gmail.com> References: <201902232114.x1NLE0cH085345@repo.freebsd.org> <CAOtMX2hD=o%2BF1z1sErDuBxaL8qm%2BS-BDAwvLr=1z0MhmAJ8ang@mail.gmail.com> <CAPrugNrnKeDkqsqDtPyTCsPBK6rUsAThog1KO1u3FPCGihD3sw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Feb 28, 2019, at 5:39 PM, Matthew Macy <mmacy@freebsd.org> wrote: >=20 > to config add: > options LINDEBUGFS > options GCOV >=20 > compile kernel with gcc (otherwise it will be a no-op) >=20 > sysctl debug.gcov.enable=3D1 >=20 > mount -t debugfs debugfs /sys/kernel/debug >=20 > (or wherever) and the output artifacts will appear under gcov/<kernel > build path> - you need to be root to see the artifacts >=20 > gcov can then generate the results as it would normally from the > profiling and the build time artifacts >=20 > bug reports welcome Shouldn=E2=80=99t this be documented on the wiki? Thanks! -Enji=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?710DC3F1-CEBA-4450-B484-7E4A94CDB67D>