[POWERPC] spufs: Add stat file to spufs
Export per-context statistics in spufs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
65de66f0b8
commit
e9f8a0b65a
@@ -156,6 +156,12 @@ struct spu {
|
||||
u64 shadow_int_mask_RW[3];
|
||||
|
||||
struct sys_device sysdev;
|
||||
|
||||
struct {
|
||||
/* protected by interrupt reentrancy */
|
||||
unsigned long long slb_flt;
|
||||
unsigned long long class2_intr;
|
||||
} stats;
|
||||
};
|
||||
|
||||
struct spu *spu_alloc(void);
|
||||
|
Reference in New Issue
Block a user