Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2025 13:45:01 +0100
From:      Paul Floyd <paulf2718@gmail.com>
To:        Freebsd hackers list <freebsd-hackers@freebsd.org>
Subject:   Re: Process Profiling
Message-ID:  <E54E2BDB-ECE0-40D4-A624-7CFE8750131F@gmail.com>
In-Reply-To: <CA%2BaGpV8SF6kMyZcepyq_RqWuvUXGB4RH_MjC53ww-sjGCPuWQw@mail.gmail.com>
References:  <CAD2_vGqforjTNbqUF-_gXrxWkuFAiP5Q7ZZn7p42AZfOmiV9wA@mail.gmail.com> <CA%2BaGpV8SF6kMyZcepyq_RqWuvUXGB4RH_MjC53ww-sjGCPuWQw@mail.gmail.com>

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

[-- Attachment #1 --]

> On 2 Dec 2025, at 12:35, Athanasios Kostopoulos <athanasioskostopoulos@gmail.com> wrote:
> 
> dtrace can help. I give you a wiki article 
> 
> https://wiki.freebsd.org/DTrace
> 

IMO Dtrace is very limited as to what it can trace performance-wise.

No PMC and not much more than callgraph profiling that I’m aware of.

If you do make the effort to instrument your code with SDTs then that would help a lot.


A+
Paul



[-- Attachment #2 --]
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><blockquote type="cite"><div>On 2 Dec 2025, at 12:35, Athanasios Kostopoulos &lt;athanasioskostopoulos@gmail.com&gt; wrote:</div><br class="Apple-interchange-newline"><div><div dir="auto">dtrace can help. I give you a wiki article&nbsp;</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://wiki.freebsd.org/DTrace">https://wiki.freebsd.org/DTrace</a></div><br></div></div></blockquote><br></div><div>IMO Dtrace is very limited as to what it can trace performance-wise.</div><div><br></div><div>No PMC and not much more than callgraph profiling that I’m aware of.</div><div><br></div><div>If you do make the effort to instrument your code with SDTs then that would help a lot.</div><div><br></div><div><br></div><div>A+</div><div>Paul</div><div><br></div><br></body></html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E54E2BDB-ECE0-40D4-A624-7CFE8750131F>