Skip to content

Running DTrace on Fedora and Ubuntu

Elena Zannoni edited this page Oct 1, 2020 · 1 revision

You can run DTrace on Fedora and Ubuntu kernels.

We have created scripts to facilitate with this task. You will have to patch the kernel before being able to run DTrace, the scripts will aid in that by generating patches for the version of the kernel you are running, checking out the necessary kernel patches from this repository, and applying them.

The scripts are included in the this repository, in the samples/scripts directory.

For example for the 5.8.11 kernel, you can patch a corresponding Fedora kernel by using: https://github.com/oracle/dtrace-linux-kernel/blob/v1/5.8.11/samples/dtrace/DTrace-on-Fedora.sh script.

We are planning to provide scripts to run DTrace also on Ubuntu kernels. This is a WIP and more details will be added soon, please be patient.

Clone this wiki locally