pixie.1

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 115 行

1
115
字号
.TH pixie 1 RISC.UC 4.SH Namepixie \- add profiling code to a program.SH Syntax.B pixiein_prog_name [ options ].SH DescriptionThe .B pixiecommand reads an executable program, partitions it into basic blocks, andwrites an equivalent program containing additional code thatcounts the execution of each basic block. A basic block is a region ofthe program that can be entered only at the beginning and exited only atthe end.  The.B pixie command also generates a file containing the address of each of thebasic blocks..PPWhen you run the pixie-generated program, it (provided it terminatesnormally or via a call to.MS exit 2 )generates a file containing the basic block counts. The name of the fileis that of the original program with any leading directory names removedand ".Counts" appended..MS prof 1and.MS pixstats 1can analyze these files and produce a listing of profiling data..SH Options.TP 20.B \-o \fIout_prog_nameSpecify a name for the translation.  The default is to remove any leadingdirectory names from the in_prog_name and append ".pixie"..TP 20.B \-bbaddrs \fInameSpecify a name for the file of basic block addresses.  Default is toremove any leading directory names from the in_prog_name and append".Addrs"..TP 20.B \-[no]quietControls whether a summary is given of the binary-to-binarytranslation process. The default is.B \-noquiet..TP 20.B \-[no]dwopsControls translation of double-word load/store instructions so thatbinaries using these instructions can be run on old processors.The default is.B \-nodwops(translate)..TP 20.B \-[no]textdataControls whether pixie puts the original text into the translated output.This is required to correctly translate programs with data in the textsection (for example, f77 format statements in some compiler releases). The default is.B \-textdata(include original text)..TP 20.B \-[no]idtraceDisables or enables tracing of instruction and data memory references..B \-idtraceis equivalent to using both.B \-itraceand.B \-dtracetogether.The default is.B \-noidtrace.TP 20.B \-[no]itraceDisable or enable tracing of instruction memory references.The default is.B \-noitrace.TP 20.B \-[no]dtraceDisable or enable tracing of data memory references.Currently,.B \-dtracerequires.BR \-itrace .The default is.B \-nodtrace.TP 20.B \-[no]oldtraceDisable or enable the old memory reference trace format.The default is.BR \-oldtrace ..TP 20.B \-idtrace_sample \fInumberRecord only 1 out of every.I numbermemory reference chunks. (This feature not yet implemented.).TP 20.B \-idtrace_file \fInumberSpecify a UNIX file descriptor number for the trace output file.The default is 19..SH RestrictionsThe handler function address to the signal system calls is not translated,therefore, programs that receive signals  cannot work pixified..PPPrograms that call .B vfork cannot work pixified because the child processmodifies the parent state required for pixie operation.  Use .B forkinstead..PPPixified code is substantially larger than the original code.  Conditionalbranches that used to fit in the 16-bit branch displacement field may nolonger fit, generating a pixie error..SH See Alsoprof(1), pixstats(1)

⌨️ 快捷键说明

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