[DTrace-devel] profile provider

eugene.loh at oracle.com eugene.loh at oracle.com
Wed Jul 1 19:41:05 PDT 2020


This patch set supersedes the one I sent out a few days ago to get
feedback.  I did more testing and tweaked some stuff, but at this
point I do not expect to work on the profile provider further until
there is some feedback.  This patch set also includes a few other
minor things.  Here is an overview:

0001-Change-use-of-dtrace_probe_iter.patch
0002-slight-code-refactoring-to-eliminate-gratuitous-diff.patch
0003-Other-provider-cleanup.patch
0004-Add-ability-to-provide-user-specified-probes-on-dema.patch
    These patches are basically part of what I sent out a few
    weeks ago.  There was a little bit of review.  E.g., 0002
    included some code movement Kris did not like, while he gave
    his Reviewed-by to 0003.  Stuff like that.  I am simply
    sending them out again.  They are not the focus here.

0005-Make-a-provider-specific-attach.patch
0006-Add-provider-dependent-struct-in-dt_probe_t.patch
    These two set up some infrastructure to supply some
    provider-dependent functions per Kris's feedback.
    They are needed for the profile provider.

0007-Set-interrupt-signal-handler-earlier.patch
0008-Fix-test-unittest-providers-tst.dtrace_cleanup.sh.patch
0009-Defer-creation-of-uprobes-and-kprobes-for-dtrace-and.patch
0010-Try-an-orderly-shutdown-if-a-test-times-out.patch
    This is more provider clean up.  We create uprobes (dtrace)
    and kprobes (fbt) and try to clean them up when we're done.
    The clean up was fragile.  Here, we set the signal handler
    earlier, create the probes later, and fix some test issues.

0011-Add-a-profile-provider.patch
0012-Move-tests-from-XFAIL-to-PASS-due-to-addition-of-pro.patch
    This is the patch with the profile provider and the patch
    that updates the tests.  They should probably be squashed
    together after review.

0013-Eliminate-deadman-references.patch
    Minor test suite clean up.

I believe Kris is making some big changes that might conflict
with the above patches.  So, it might be nice to get some feedback,
but the changes will probably have to be rebased once Kris finishes
his work.





More information about the DTrace-devel mailing list