forked from Minki/linux
2ccfb8bc21
In some weak fallback cases close can be called a lot with -1. Check for this case and avoid calling close then. This is mainly to shut up valgrind which complains about this case. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lore.kernel.org/lkml/20191020175202.32456-3-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
.. | ||
Documentation | ||
include | ||
tests | ||
Build | ||
core.c | ||
cpumap.c | ||
evlist.c | ||
evsel.c | ||
internal.h | ||
lib.c | ||
libperf.map | ||
libperf.pc.template | ||
Makefile | ||
mmap.c | ||
threadmap.c | ||
xyarray.c |