Skip to content

Instantly share code, notes, and snippets.

@kofemann
Last active April 8, 2022 01:09
Show Gist options
  • Save kofemann/acd537cc6e9b0928cde2 to your computer and use it in GitHub Desktop.
Save kofemann/acd537cc6e9b0928cde2 to your computer and use it in GitHub Desktop.
dtrace on linux

#Get started with DTrace on linux ####(with CentOS7/SL7/RHEL7)

  1. add YUM repo
$ cd /etc/yum.repos.d
$ wget http://public-yum.oracle.com/public-yum-ol7.repo
$ rpm --import http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7
  1. enable repos
yum-config-manager --disable ol7*
yum-config-manager --enable ol7_UEKR4
  1. install the kernel
$ yum install kernel-uek
  1. download and install dtrace for linux from http://www.oracle.com/technetwork/server-storage/linux/downloads/linux-dtrace-2800968.html

  2. set newly installed kernel default

grub2-set-default 0
  1. reboot
# modprobe dtrace
# modprobe systrace

https://blogs.oracle.com/wim/entry/trying_out_dtrace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment