6 Replies Latest reply: Mar 14, 2012 10:42 AM by 913534 RSS

    bringing up with dtrace

    anjain
      The following modules found to be part of dtrace to try this I am using fedora I suppose this is doable ?
      ------------------
      linux-2.6-dtrace-modules-beta.git
      linux-2.6-dtrace-unbreakable-beta.git
      ------------------

      Is there any installation guide or some doc which will help to bring this up on a virtual box ?

      thanks.
        • 1. Re: bringing up with dtrace
          913534
          Hi,
          We dont' test on Fedora. You can try building on Fedora from our sources, but we only develop and test and deliver for OL6 x86_64. There is definitely a low probability of this working on Fedora.
          It is probably easier if you get the RPMs from ULN, there is also the utilities RPM (userspace portion of dtrace) available there.

          thanks
          elena
          • 2. Re: bringing up with dtrace
            anjain
            RPM(s) on ULN, but to get that I think it needs CSI number, right ?
            Does using the oracle public yum help ?
            • 3. Re: bringing up with dtrace
              kvh
              The Linux kernel with DTrace support and the kernel modules are in essence (and by design) not specific to any distribution, in the same sense that the kernel is not really distribution specific. While we do not do any formal testing on other OS distributions, we have at times used the kernel with DTrace support and the kernel modules (and userspace of course) on other systems for various reasons, and it definitely can be done without much effort. You just need to ensure (of course) that the appropriate kernel options are enabled for your specific system and OS distribution (since there are dependencies there for some systems). The DTrace support is configurable through the standard kernel configuration mechanism, so enabling that is all that is really needed in order to do a source build.

              There is no formal support for doing this, but if one has experience building one's own kernels from source, it really is quite easy.

              Hope this helps,
              Kris
              • 4. Re: bringing up with dtrace
                anjain
                Does that mean copying the dtrace dir in the
                linux-2.6-dtrace-unbreakable-beta.git to the
                mainline should work ? which should also mean
                dtrace gpl changes doesn't touch any other
                files in the mainline ?
                • 5. Re: bringing up with dtrace
                  kvh
                  No, you cannot just copy the code into a different kernel tree. The changes are in various areas of the kernel source code, so you'd have to work with the entire kernel source tree as provided in the source RPM and/or git tree.

                  Hope this helps - we cannot really provide individual support for source compiles of the DTrace facility beyond this. It is a regular kernel compile, but you do need to use the kernel that contains all the source code changes.

                  Cheers,
                  Kris
                  • 6. Re: bringing up with dtrace
                    913534
                    That's correct, you need a CSI number to access ULN.
                    DTrace RPMs are only available on ULN, not on public yum.

                    thanks
                    elena