Server IP : 51.89.169.208 / Your IP : 216.73.216.211 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/zsh/5.5.1/functions/ |
Upload File : |
#compdef gprof local curcontext="$curcontext" state line ret=1 typeset -A opt_args _arguments -C -s -{a,b,c,D,h,i,l,L,s,T,v,w,x,y,z} \ -{A,C,e,E,f,F,J,n,N,O,p,P,q,Q,Z}:'function name:->funcs' \ '-I:directory:_dir_list' \ '-d-:debug level:' '-k:function names:->pair' \ '-m:minimum execution count:' \ ':executable:_files -g \*\(-\*\)' \ ':profile file:_files -g gmon.\*\(-.\)' \ -- -s '((#s)--[no-] --)' \ '*=name*:function name:->funcs' \ '*=dirs*:directory:_dir_list' && ret=0 if [[ -n "$state" ]]; then local cmd pair expl _tags functions || return 1 [[ "$state" = pair ]] && pair=yes if [[ $#line -gt 1 ]]; then cmd="$line[2]" else return 1 fi if [[ -n "$cmd" ]]; then if [[ "$cmd" = /* ]]; then tmp="$cmd" else tmp="$PWD/$cmd" fi if [[ "$tmp" != "$_gprof_command" ]]; then _gprof_command="$tmp" _gprof_funcs=( "${(@)${(@M)${(@f)$(nm $cmd)}:#[^ ]# [tT] ([^_]|_[^_])*}##* }" ) fi if [[ -n "$pair" ]]; then if compset -P '*/'; then expl='call arc to function' else expl='call arc from function' fi else expl=function fi _wanted functions expl "$expl" \ compadd -M 'r:|_=* r:|=*' -a _gprof_funcs && ret=0 else return 1 fi fi return ret