• Andre Detsch's avatar
    [CELL] spufs: add spu stats in sysfs and ctx stat file in spufs · 27ec41d3
    Andre Detsch authored
    This patch exports per-context statistics in spufs as long as spu
    statistics in sysfs.
    
    It was formed by merging:
    "spufs: add spu stats in sysfs"   From: Christoph Hellwig
    "spufs: add stat file to spufs"   From: Christoph Hellwig
    "spufs: fix libassist accounting" From: Jeremy Kerr
    "spusched: fix spu utilization statistics" From: Luke Browning
    And some adjustments by myself, after suggestions on cbe-oss-dev.
    
    Having separate patches was making the review process harder
    than it should, as we end up integrating spus and ctx statistics
    accounting much more than it was on the first implementation.
    Signed-off-by: default avatarAndre Detsch <adetsch@br.ibm.com>
    Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
    Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
    27ec41d3
context.c 4.2 KB