aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorPierre Habouzit <[email protected]>2009-08-07 14:16:00 +0200
committerIngo Molnar <[email protected]>2009-08-09 12:54:39 +0200
commit7eac7e9e726c1b136bd7e0ad6671ce315f48bb18 (patch)
tree17762cc0b140096e80e6ff509cc423f8e62db7e6 /net/lapb/lapb_iface.c
parentae07b63f4b6728e1f98aa5c5416cfc1280f59f51 (diff)
perf util: Fix do_read() to fail on EOF instead of busy-looping
While toying with perf, I've noticed that perf record can easily enter a busy loop when doing something as silly as: $ perf record -A ls Yeah, do_read here really wants to read a known size, not being able to should die(), not busy-loop ;) That was the cause for the bug. Signed-off-by: Pierre Habouzit <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions