这需要修改oprofile的内核代码来周期性地对SPU指令指针进行采样。
This requires changes to the OProfile kernel code to sample the SPU instruction Pointers regularly.
在调试信号时,需要查看的一些重要寄存器包括GPR、指令指针(NIP)、机器状态寄存器(MSR)、Trap、数据地址寄存器(DAR)等等。
Important registers to look for when debugging through signals are the GPRs, instruction pointer (NIP), machine state register (MSR), trap, data address register (DAR), and so on.
当前块是包含当前位置(指令指针地址)的代码。
The current block is the code containing the current location, instruction pointer address.
从当前位置开始,将指令指针向前移动指定的元素个数。
Moves the instruction pointer forward by the specified number of elements, starting at the current position.
获取当前设置的指令指针所指向的本机代码偏移量位置。
Gets the native code offset location to which the instruction pointer is currently set.
其中最有关的信息是指令指针(EIP),就是故障指令的地址。
The most relevant information here is the instruction pointer (EIP), the address of the faulty instruction.
无论何时从内存中取一个指令,指令指针都会经指令tlb的翻译后指向物理地址。
Whenever an instruction is fetched from memory, the instruction pointer is translated via the instruction TLB into a physical address.
对每一个非初始化堆指针存储,卡片标记算法可以只增加两到三个机器指令,并要求在小的收集时对所有脏卡片上的对象进行扫描。
Card marking algorithms can add as little as two or three machine instructions per non-initializing heap pointer store, and entails scanning any objects on dirty CARDS at minor collection time.
对每一个非初始化堆指针存储,卡片标记算法可以只增加两到三个机器指令,并要求在小的收集时对所有脏卡片上的对象进行扫描。
Card marking algorithms can add as little as two or three machine instructions per non-initializing heap pointer store, and entails scanning any objects on dirty CARDS at minor collection time.
应用推荐