PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Setting Up D-Trace For Linux

Go down

Setting Up D-Trace For Linux Empty Setting Up D-Trace For Linux

Post by jamied_uk 1st July 2021, 16:10

Setup Dtrace




Code:
sudo apt install -y systemtap-sdt-dev




Code:
Usage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o <File>]


Where -h builds a systemtap header file from the .d file
      -C when used with -h, also run cpp preprocessor
      -o specifies an explicit output file name,
         the default for -G is file.o and -h is file.h
      -I when running cpp pass through this -I include Path
      -s specifies the name of the .d input file
      -G builds a stub file.o from file.d,
         which is required by some packages that use dtrace.


Code:
dtrace -I




Code:
Usage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o <File>]
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Setting Up D-Trace For Linux Empty Re: Setting Up D-Trace For Linux

Post by jamied_uk 1st July 2021, 16:32

Commands & Examples

docs.oracle.com/cd/E37670_01/E37355/html/ol_examples_dtrace.html
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum