Skip to content

Commit 1293dac

Browse files
acmelnamhyung
authored andcommitted
perf libunwind arm64: Fix missing close parens in an if statement
While testing building with libunwind (using LIBUNWIND=1) in various arches I noticed a problem on arm64, on an rpi5 system, a missing close parens in a change related to dso__data_get_fd() usage, fix it. Fixes: 5ac22c3 ("perf dso: Use lock annotations to fix asan deadlock") Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Link: https://lore.kernel.org/r/Z_Z3o8KvB2i5c6ab@x1 Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent 7f56978 commit 1293dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/unwind-libunwind-local.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ static int read_unwind_spec_debug_frame(struct dso *dso,
371371
* has to be pointed by symsrc_filename
372372
*/
373373
if (ofs == 0) {
374-
if (dso__data_get_fd(dso, machine, &fd) {
374+
if (dso__data_get_fd(dso, machine, &fd)) {
375375
ofs = elf_section_offset(fd, ".debug_frame");
376376
dso__data_put_fd(dso);
377377
}

0 commit comments

Comments
 (0)