[DTrace-devel] Git repo with DTrace support patches

Elena Zannoni elena.zannoni at oracle.com
Sat Jan 20 00:11:09 UTC 2024


On 1/19/24 09:34, Elena Zannoni wrote:
> On 1/19/24 09:19, Tomasz Kłoczko via DTrace-devel wrote:
>>
>> On Fri, 19 Jan 2024 at 15:13, Kris Van Hees <kris.van.hees at oracle.com> wrote:
>> [..]
>>
>>     As of DTrace 2.0.0 there is no kernel space portion anymore - the current
>>     implementation of DTrace is entirely based on leveraging tracing facilities
>>     in the upstream kernel.  We do make use of CTF and modules.builtin.ranges
>>     data (when available) to improve functionality.  Those patches can be found
>>     in the https://github.com/oracle/dtrace-kernel repo, but just the userspace
>>     component alone provides quite powerful (albeit a bit restricted) tracing
>>     functionality.
>>
>>
>> https://github.com/oracle/dtrace-kernel no longer exists and shows 404.
>>
> Hi Kloczek,
> that was a typo, the repo is https://github.com/oracle/dtrace-linux-kernel
>
>>     > BTW mentioned in README.md for examople https://yum.oracle.com/repo/OracleLinux
>>     > /OL9/UEKR7/x86_64/ contains kernel and user space binary packages but https://
>>     > yum.oracle.com/repo/OracleLinux/OL9/UEKR7/SRPMS <http://yum.oracle.com/repo/OracleLinux/OL9/UEKR7/SRPMS> do not exist.
>>     > Some of those packages are distributed under GPL licenses so the source version
>>     > should be distributable as well.
>>
>>     There is no requirement to provide SRPMS since the entire kernel tree with the
>>     add-on patches is available from the github repo mentioned in ther README.md:
>>     https://github.com/oracle/dtrace-linux-kernel
>>
>>
>> In the case of user space tools my understanding is that OL versions have some patches for USDT providers/probes.
>>
> The patches are in the https://github.com/oracle/dtrace-linux-kernel repo for many version of upstream kernels. We'll post the 6.6 and 6.7 soon as well.

Nick has added the 6.7 patches. The 6.6 patches were there already but the branch name was not following the same naming convention as the other ones, therefore hard to spot. It has now been renamed. You'll find these in:
https://github.com/oracle/dtrace-linux-kernel/tree/v2/6.6
and
https://github.com/oracle/dtrace-linux-kernel/tree/v2/6.7

thanks
elena


> But as Kris said dtrace works also w/o those patches.
> If you want to look at the OL sources you can find them here for instance for OL8: https://yum.oracle.com/repo/OracleLinux/OL8/UEKR7/x86_64/index_src.html
>
> elena
>
>> [..]
>>
>>     > Latest version dtrace-utils is 2.0.0-1.13.2 which is unacceptable for rpm as
>>     > version string.
>>     > Why 2.13.2 is not used?
>>
>>     When we started the reworking of DTrace based on existing kernel tracing
>>     features rather than using a more invasive set of kernel patches and modules,
>>     we decided not to start a true numbering in a 1.x series until we had better
>>     version parity with the previous version.  As we approach that, the numbering
>>     is set to change very soon.
>>
>>     However, the fact that OL has been using the existing numbering scheme for a
>>     few years now clearly shows that it is actually valid for RPMs.  As you can
>>     see in the dtrace.spec file, 2.0.0 is the actual version number, and 1.13.2
>>     is the release number.
>>
>>
>> Which is kind of odd ..
>> Releases are usually reserved for the packaging layer.
>>
>> I can inderstansthat DTrace 2.x.x is the actual major version line of implementation of DTrace for Linux which is purely implemented on top of generic kernel probes so logically would be used as *version *strong 2.13.2.
>>
> This situation is dictated by the fact that at the moment dtrace is really not the full 2.0.0 version. Because the functionality is still slighly behind the 1.x version.
> So that's the decision we made. The current verrsion is a step towards the full version 2. when we reach parity we'll start moving the 2.x.x numbering forward.
>
> elena
>
>
>
>> kloczek
>> -- 
>> Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>
>>
>> _______________________________________________
>> DTrace-devel mailing list
>> DTrace-devel at oss.oracle.com
>> https://oss.oracle.com/mailman/listinfo/dtrace-devel




More information about the DTrace-devel mailing list