Date: Fri, 24 Mar 2023 01:09:40 +0100 From: Tomek CEDRO <tomek@cedro.info> To: Pete Wright <pete@nomadlogic.org> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: userland profiler trace with debug symbols Message-ID: <CAFYkXjmKyc8qgAhGtN8UrLxD4vUJ=Yz7FZsd27h7oO84VLVcoQ@mail.gmail.com> In-Reply-To: <20230323204533.z3vd3tk37hgbludi@topanga> References: <CAFYkXjkuwQviXbJ1nbB3qpST5tTAvjO4br-QEo=6t3M0VB7z3A@mail.gmail.com> <20230323204533.z3vd3tk37hgbludi@topanga>
index | next in thread | previous in thread | raw e-mail
On Thu, Mar 23, 2023 at 9:45 PM Pete Wright wrote: > > On Thu, Mar 23, 2023 at 12:07:28AM +0100, Tomek CEDRO wrote: > > Hello world :-) > > > > I have found and reported a bug in KiCAD 7 where dialogs seems to be > > broken [1]. One of the upstream developers asked me to create a > > "profiler trace with debug symbols" to pinpoint the issue. > > > > Here is an example use on Linux with perf [2]: > > > > perf record --debuginfod --call-graph dwarf -F 999 -g eeschema > > > > Do we have this kind of utility on FreeBSD? :-) > > you can probably supply similar info using dtrace(1). there is also dwatch(1) > which is a handy script that pulls lots of useful info via dtrace, but in a > more user friendly way. > > -pete Thank you Pete! I also found dtrace.. but it looks kind of black magic for a newcomer :-P I found only this reference with some examples: https://www.oracle.com/application-development/technologies/solarisstudio-documentation-dtrace-studio.html Do you know a good reference / manual / tutorial / book with exapmles to learn dtrace? :-) :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.infohelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjmKyc8qgAhGtN8UrLxD4vUJ=Yz7FZsd27h7oO84VLVcoQ>
