summaryrefslogtreecommitdiff
path: root/tools/perf/tests
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-02-01 03:15:02 +0300
committerNamhyung Kim <namhyung@kernel.org>2024-02-10 07:43:13 +0300
commitc7ba9d18ae47924a6ea6a47ca139779f58eb83c0 (patch)
treeeefd85b1ebe7aa6952b2f76a79186452bafc5875 /tools/perf/tests
parentcbc917a1b03bce85f385c1e640c9dcb02ffb9ab0 (diff)
downloadlinux-c7ba9d18ae47924a6ea6a47ca139779f58eb83c0.tar.xz
perf srcline: Add missed addr2line closes
The child_process for addr2line sets in and out to -1 so that pipes get created. It is the caller's responsibility to close the pipes, finish_command doesn't do it. Add the missed closes. Fixes: b3801e791231 ("perf srcline: Simplify addr2line subprocess") Signed-off-by: Ian Rogers <irogers@google.com> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: James Clark <james.clark@arm.com> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Nathan Chancellor <nathan@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: John Garry <john.g.garry@oracle.com> Cc: Tom Rix <trix@redhat.com> Cc: llvm@lists.linux.dev Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240201001504.1348511-8-irogers@google.com
Diffstat (limited to 'tools/perf/tests')
0 files changed, 0 insertions, 0 deletions