Github/easy dtrace: Unterschied zwischen den Versionen

Aus C3D2
Wechseln zu: Navigation, Suche
Zeile 25: Zeile 25:
 
</source>
 
</source>
  
 +
== FlameGraph ==
  
 
'''15) FlameGraph: DTrace stacks - capture 60 seconds (svg output)'''
 
'''15) FlameGraph: DTrace stacks - capture 60 seconds (svg output)'''

Version vom 9. Oktober 2015, 07:51 Uhr

Aus Storage liegt unter /github/easy_dtrace ein kleines Skript für Performance-Analysen mit DTrace

derzeitige Funktionen:

storage# ./easy_dtrace.sh freenas
--- update FlameGraph // --->
Already up-to-date.
      
Choose the (dtrace) function:
1)  pmcstat -TS instructions (load hwpmc.ko!)  13) ***                                                                  |  #
2)  DTrace: Listing Probes                     14) ***                                                                  |  #
3)  DTrace: File Opens                         15) FlameGraph: DTrace stacks - capture 60 seconds                       |  #
4)  DTrace: Syscall Counts By Process          16) FlameGraph: pmcstat -G stacks - capture 60 seconds (load hwpmc.ko!)  |  #
5)  DTrace: Distribution of read() Bytes       |  #
6)  DTrace: Timing read() Syscall              |  #
7)  DTrace: Measuring CPU Time in read()       |  #
8)  DTrace: Count Process-Level Events         |  #
9)  DTrace: Profile On-CPU Kernel Stacks       |  #
10) DTrace: Scheduler Tracing                  |  #
11) DTrace: TCP Inbound Connections            |  #
12) DTrace: Raw Kernel Tracing                 |  #

FlameGraph

15) FlameGraph: DTrace stacks - capture 60 seconds (svg output)

Storage.hq.c3d2.de kernel.jpg

16) FlameGraph: pmcstat -G stacks - capture 60 seconds (load hwpmc.ko!) (svg output)

Storage.hq.c3d2.de pmc.jpg