aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-04-24 22:27:32 +0900
committerJiri Olsa <jolsa@kernel.org>2014-04-29 14:26:30 +0200
commite148c76083dc06ce618d768c0bee0a0edda96a54 (patch)
tree6c044eb662edb540d246a8417d7c2133cc98233b /samples
parentMerge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (diff)
downloadlinux-dev-e148c76083dc06ce618d768c0bee0a0edda96a54.tar.xz
linux-dev-e148c76083dc06ce618d768c0bee0a0edda96a54.zip
perf tools: Handle EINTR error for readn/writen
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions