aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-10-16 10:51:46 +1100
committerJeremy Kerr <jk@ozlabs.org>2008-10-21 11:13:30 +1100
commit14f693eeb5b16bc47ffa38d8b8838a654aedd53f (patch)
tree428efb2f55de8a9f49af44c6e4f1d15536451702 /samples
parentf5ed0eb6fe131e8f3847323b4aa569a6f7b36f56 (diff)
downloadkernel_samsung_smdk4412-14f693eeb5b16bc47ffa38d8b8838a654aedd53f.zip
kernel_samsung_smdk4412-14f693eeb5b16bc47ffa38d8b8838a654aedd53f.tar.gz
kernel_samsung_smdk4412-14f693eeb5b16bc47ffa38d8b8838a654aedd53f.tar.bz2
powerpc/spufs: Don't require full buffer in switch_log read
Currently, read() on the sputrace log will block until the read buffer is full. This makes it difficult to retrieve the end of the buffer, as the user will need to read with the right-sized buffer. In a similar method as 91553a1b5e0df006a3573a88d98ee7cd48a3818a, this change makes the switch_log return if there has already been data read. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions