git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2011319
)
perf tools: Handle EINTR error for readn/writen
author
Namhyung Kim
<namhyung@kernel.org>
Thu, 24 Apr 2014 13:27:32 +0000
(22:27 +0900)
committer
Jiri Olsa
<jolsa@kernel.org>
Tue, 29 Apr 2014 12:26:30 +0000
(14:26 +0200)
Those readn/writen functions are to ensure read/write does I/O for
a given size exactly. But ion() - its implementation - does not
handle in case it returns prematurely due to a signal. As it's not
an error itself so just retry the operation.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link:
http://lkml.kernel.org/r/1398346054-3322-1-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/util.c
patch
|
blob
|
history
diff --cc
tools/perf/util/util.c
Simple merge