Page MenuHomeFreeBSD

DTraceUmbrella
ActivePublic

Recent Activity

Yesterday

0mp updated the summary of D51287: dtrace_pid.4: Document the DTrace PID provider.
Fri, Oct 24, 8:59 PM · manpages, DTrace
0mp updated the diff for D51287: dtrace_pid.4: Document the DTrace PID provider.
  • Wordsmith
Fri, Oct 24, 8:58 PM · manpages, DTrace
ziaee added inline comments to D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.
Fri, Oct 24, 8:22 PM · manpages, DTrace
0mp updated the diff for D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.

Remove password prompt from the example

Fri, Oct 24, 8:16 PM · manpages, DTrace
0mp added inline comments to D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.
Fri, Oct 24, 8:14 PM · manpages, DTrace
0mp updated the diff for D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.
  • address feedback (I answered some of the comments directly or at least marked them as done)
  • sort copyright header
Fri, Oct 24, 8:14 PM · manpages, DTrace

Thu, Oct 16

christos added a reviewer for D38825: libdtrace: Implement inline function tracing for kinst: emaste.
Thu, Oct 16, 10:56 AM · DTrace
christos added a comment to D38825: libdtrace: Implement inline function tracing for kinst.

I have been testing this again recently, and it works fine, at least with the tests I ran. I think we should go ahead and get it into the tree, it's been sitting in review for 3 years almost. releng/15.0 is branched so there is no fear of breaking the release, even though this shouldn't break anything in the first place, it's a kinst-specific change and at worst it won't always yield 100% correct results. Once we have it in tree we can work on remaining issues, but I do not see a point in keeping it here anymore.

Thu, Oct 16, 10:56 AM · DTrace

Sep 11 2025

christos abandoned D39259: fbt: Allow tracing of dtrace_test.ko functions.

I think this is subsumed by commit 5bd7b976c1214cd6357b74f491753a331f9b7c99.

Sep 11 2025, 12:12 PM · DTrace

Jul 28 2025

christos added inline comments to D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.
Jul 28 2025, 2:41 PM · manpages, DTrace

Jul 27 2025

markj added inline comments to D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.
Jul 27 2025, 1:57 PM · manpages, DTrace

Jul 22 2025

christos added inline comments to D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.
Jul 22 2025, 2:29 AM · manpages, DTrace

Jul 18 2025

yan.jurak_gmail.com removed a watcher for DTrace: yan.jurak_gmail.com.
Jul 18 2025, 9:03 PM

Jul 17 2025

0mp added inline comments to D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.
Jul 17 2025, 9:01 PM · manpages, DTrace
0mp updated the diff for D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider.
  • UMA -> uma
Jul 17 2025, 9:00 PM · manpages, DTrace
0mp added reviewers for D51396: dtrace_dtmalloc.4: Document the DTrace dtmalloc provider: bnovkov, markj, christos.
Jul 17 2025, 8:58 PM · manpages, DTrace

Jul 16 2025

0mp closed D50922: dtrace_fbt.4: Document the DTrace fbt provider.

Closed via 9388c2887817d7162ebb356b39aa9b4ab67a8c00.

Jul 16 2025, 10:31 AM · DTrace

Jul 15 2025

0mp added a comment to D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.

Thanks, Mark!

Jul 15 2025, 9:19 PM · DTrace
0mp closed D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.
Jul 15 2025, 9:08 PM · DTrace
markj accepted D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.
Jul 15 2025, 8:31 PM · DTrace
0mp updated the diff for D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.
  • Add the enum to the definition
Jul 15 2025, 8:24 PM · DTrace
0mp abandoned D51328: libdtrace: Add vfs.d and define enum cache_fpl_status values there.

Great! Thanks for explaining, Mark :)

Jul 15 2025, 3:43 PM · DTrace
markj added a comment to D51328: libdtrace: Add vfs.d and define enum cache_fpl_status values there.

Please don't commit this. It's not necessary, and you're just hard-coding internal values from the kernel. The fplookup result status number is just an implementation detail and isn't part of any stable interface.

Jul 15 2025, 3:41 PM · DTrace
markj added a comment to D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.
In D51315#1172217, @0mp wrote:

Another side note: wouldn't it be nice to create a vfs.d in /usr/lib/dtrace so that we could use the actual enum for arg2 instead of integers? The enum would be:

Just change the type from int to enum cache_fpl_status in the probe definition, and it'll work. dtrace knows about enum names since they're encoded in CTF info.

ah, so the actual fix should be:

SDT_PROBE_DEFINE3(vfs, fplookup, lookup, done, "struct nameidata *", "enum cache_fpl_status", "bool");

do I understand correctly?

I'm not sure if that would work. DTrace seems to not know about the the constants like CACHE_FPL_STATUS_DESTROYED at all. How would the type change fix that? I'll try that later. Maybe DTrace does some magic that makes it work.

Jul 15 2025, 3:38 PM · DTrace
0mp added a comment to D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.

Alternatively, I've opened another revision that adds the enum to libdtrace/vfs.d, but I suspect that this is not the right fix based on Mark's last comment.

Jul 15 2025, 3:30 PM · DTrace
0mp added a comment to D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.

Another side note: wouldn't it be nice to create a vfs.d in /usr/lib/dtrace so that we could use the actual enum for arg2 instead of integers? The enum would be:

Just change the type from int to enum cache_fpl_status in the probe definition, and it'll work. dtrace knows about enum names since they're encoded in CTF info.

Jul 15 2025, 3:29 PM · DTrace
0mp updated the test plan for D51328: libdtrace: Add vfs.d and define enum cache_fpl_status values there.
Jul 15 2025, 3:25 PM · DTrace
markj accepted D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.

Another side note: wouldn't it be nice to create a vfs.d in /usr/lib/dtrace so that we could use the actual enum for arg2 instead of integers? The enum would be:

Jul 15 2025, 3:09 PM · DTrace
0mp edited reviewers for D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done, added: christos; removed: chris_cretaforce.gr.
Jul 15 2025, 3:03 PM · DTrace
0mp updated the test plan for D51315: vfs_cache: Fix the SDT definition of vfs:fplookup:lookup:done.
Jul 15 2025, 3:03 PM · DTrace
ziaee accepted D50922: dtrace_fbt.4: Document the DTrace fbt provider.

We can of course fix them later, but I did send a mail asking about how we write the synopsis. These SYNOPSIS(es?) do introduce bugs in apropos results.

Jul 15 2025, 1:19 PM · DTrace
christos accepted D50922: dtrace_fbt.4: Document the DTrace fbt provider.
Jul 15 2025, 1:11 PM · DTrace
0mp updated the diff for D50922: dtrace_fbt.4: Document the DTrace fbt provider.
  • Pet mdoc linters
Jul 15 2025, 12:13 AM · DTrace
0mp added inline comments to D50922: dtrace_fbt.4: Document the DTrace fbt provider.
Jul 15 2025, 12:09 AM · DTrace
0mp updated the diff for D50922: dtrace_fbt.4: Document the DTrace fbt provider.
  • Address Christos' feedback
Jul 15 2025, 12:09 AM · DTrace

Jul 14 2025

0mp planned changes to D50922: dtrace_fbt.4: Document the DTrace fbt provider.
Jul 14 2025, 5:01 PM · DTrace
0mp closed D51268: d.7: Document the DTrace scripting language.
Jul 14 2025, 1:02 PM · docs, DTrace
0mp added a comment to D51268: d.7: Document the DTrace scripting language.

Thanks!

Jul 14 2025, 1:02 PM · docs, DTrace
christos accepted D51268: d.7: Document the DTrace scripting language.
Jul 14 2025, 12:26 PM · docs, DTrace
0mp added inline comments to D51268: d.7: Document the DTrace scripting language.
Jul 14 2025, 12:21 PM · docs, DTrace
0mp updated the diff for D51268: d.7: Document the DTrace scripting language.
  • Capitalize descriptions of aggregation functions
Jul 14 2025, 12:21 PM · docs, DTrace
0mp closed D51267: dtrace_dtrace.4: Document the DTrace dtrace provider.
Jul 14 2025, 12:19 PM · docs, DTrace
christos added inline comments to D51268: d.7: Document the DTrace scripting language.
Jul 14 2025, 12:17 PM · docs, DTrace
0mp added a comment to D51268: d.7: Document the DTrace scripting language.

@ziaee, could you check the apropos(1) compliance? ;)

Jul 14 2025, 12:12 PM · docs, DTrace
0mp updated the diff for D51268: d.7: Document the DTrace scripting language.
  • Address feedback
Jul 14 2025, 12:11 PM · docs, DTrace

Jul 13 2025

christos accepted D51267: dtrace_dtrace.4: Document the DTrace dtrace provider.

I haven't checked mandoc -Tlint, but make sure there are no errors there as well.

Jul 13 2025, 4:29 PM · docs, DTrace
0mp added a comment to D51267: dtrace_dtrace.4: Document the DTrace dtrace provider.

Thanks!

Jul 13 2025, 4:27 PM · docs, DTrace
0mp updated the diff for D51267: dtrace_dtrace.4: Document the DTrace dtrace provider.
  • Address feedback
Jul 13 2025, 4:27 PM · docs, DTrace
0mp updated the diff for D51267: dtrace_dtrace.4: Document the DTrace dtrace provider.
  • Address bcr's comments
Jul 13 2025, 4:24 PM · docs, DTrace
0mp updated the diff for D51268: d.7: Document the DTrace scripting language.
  • Add bcr's comments
Jul 13 2025, 4:12 PM · docs, DTrace