]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
perf tools: Handle read errors from ctl_fd
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 1 Sep 2020 09:37:54 +0000 (12:37 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Sep 2020 17:38:15 +0000 (14:38 -0300)
commit40db8ff59e75af108d695597bdbaa4828e129178
tree719224ef3e43c22ea281f1c7f0275654753b94ce
parent9864a66defeb8df0ef1487e6d195278cf3e33666
perf tools: Handle read errors from ctl_fd

Handle read errors from ctl_fd such as EINTR, EAGAIN and EWOULDBLOCK.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Alexey Budankov <alexey.budankov@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/20200901093758.32293-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c