diff options
author | arnd@arndb.de <arnd@arndb.de> | 2006-06-19 18:33:24 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-21 05:01:30 (GMT) |
commit | 7b1a701480fb17b7f78b95b257bfc90a4f949d04 (patch) | |
tree | 658ea67f2b96a174b90a3de52e2251a4471c2dc4 /lib/iomap_copy.c | |
parent | 724bd80e8102ac137868b23fad2b06af65f8e168 (diff) | |
download | linux-fsl-qoriq-7b1a701480fb17b7f78b95b257bfc90a4f949d04.tar.xz |
[POWERPC] spufs: add a phys-id attribute to each SPU context
For performance analysis, it is often interesting to know
which physical SPE a thread is currently running on, and,
more importantly, if it is running at all.
This patch adds a simple attribute to each SPU directory
with that information.
The attribute is read-only and called 'phys-id'. It contains
an ascii string with the number of the physical SPU (e.g.
"0x5"), or alternatively the string "0xffffffff" (32 bit -1)
when it is not running at all at the time that the file
is read.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'lib/iomap_copy.c')
0 files changed, 0 insertions, 0 deletions