⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gen.pl

📁 linux进程跟踪的工具和源代码
💻 PL
字号:
open SPARC, "syscallent.h" || die "no puedo abrir el de la sparc";open ALPHA, "../alpha/syscallent.h" || die "no puedo abrir el de la alpha";open PC, "../syscallent.h" || die "no puedo abrir PC\n";while (<SPARC>) {    chop;    ($i1, $i2, $i3, $syscall, $syscall_name) = split;    $strn[$index]   = $syscall_name;    $name[$index++] = $syscall;}while (<ALPHA>){    if (/\{/) {	($i1, $n, $pr, $syscall) = split;	$par{$syscall} = $n;	$prr{$syscall} = $pr;    }}while (<PC>){    if (/\{/) {	($i1, $n, $pr, $syscall) = split;	$par{$syscall} = $n;	$prr{$syscall} = $pr;    }}print "missing \n";for ($i = 0; $i < $index; $i++){    $x = $name[$i];    $y = $strn[$i];    $n = $par{$x};    $p = $prr{$x};    $j++;    print "\t{ $n\t$p\t$x\t$y },\t /* $j */\n";}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -