Re: userland profiler trace with debug symbols

From: Pete Wright <pete_at_nomadlogic.org>
Date: Thu, 23 Mar 2023 20:45:33 UTC
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


-- 
Pete Wright
pete@nomadlogic.org