[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250903-james-perf-read-build-id-fix-v1-0-6a694d0a980f@linaro.org>
Date: Wed, 03 Sep 2025 16:15:25 +0100
From: James Clark <james.clark@...aro.org>
To: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Namhyung Kim <namhyung@...nel.org>, Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>, Ian Rogers <irogers@...gle.com>,
Adrian Hunter <adrian.hunter@...el.com>, Leo Yan <leo.yan@....com>
Cc: linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
James Clark <james.clark@...aro.org>
Subject: [PATCH 0/2] perf tools: read_build_id() blocking argument fixes
The function now takes an argument for O_NONBLOCK. The first fix seems
straightforward. The second one is _probably_ fine, but I can't really
see any easy way to fix it because libbfd handles all its own IO. Maybe
we need to compile in both versions of read_build_id() and only call the
libbfd one on regular files? Or maybe in that specific use case it
doesn't care, the commit message for adding libbfd there mentioned Wine
PE binaries.
Signed-off-by: James Clark <james.clark@...aro.org>
---
James Clark (2):
perf tests: Fix "PE file support" test build
perf symbols: Fix HAVE_LIBBFD_BUILDID_SUPPORT build
tools/perf/tests/pe-file-parsing.c | 4 ++--
tools/perf/util/symbol-elf.c | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
---
base-commit: 07d9df80082b8d1f37e05658371b087cb6738770
change-id: 20250903-james-perf-read-build-id-fix-0ef6fbce0432
Best regards,
--
James Clark <james.clark@...aro.org>
Powered by blists - more mailing lists