[PATCH 0/3] perf jevents: Fix build when there are other json files in the tree

James Clark posted 3 patches 3 months, 3 weeks ago
tools/perf/pmu-events/Build | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
[PATCH 0/3] perf jevents: Fix build when there are other json files in the tree
Posted by James Clark 3 months, 3 weeks ago
I hit this issue because I'm using clangd with a json compile database.
Not sure if anyone else will actually hit this, but it's not impossible
and the fix is trivial anyway. The first commit is the fix so has a tag.
The other two commits are minor related cleanups.

Signed-off-by: James Clark <james.clark@linaro.org>
---
James Clark (3):
      perf jevents: Fix build when there are other json files in the tree
      perf jevents: Remove unused makefile variable
      perf jevents: Suppress circular dependency warnings

 tools/perf/pmu-events/Build | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
base-commit: ad83f3b7155db28e82de24dbaa1af2b8f5d972a3
change-id: 20251020-james-perf-fix-json-find-9ffed1e52693

Best regards,
-- 
James Clark <james.clark@linaro.org>
Re: [PATCH 0/3] perf jevents: Fix build when there are other json files in the tree
Posted by Namhyung Kim 3 months, 2 weeks ago
On Mon, 20 Oct 2025 17:08:25 +0100, James Clark wrote:
> I hit this issue because I'm using clangd with a json compile database.
> Not sure if anyone else will actually hit this, but it's not impossible
> and the fix is trivial anyway. The first commit is the fix so has a tag.
> The other two commits are minor related cleanups.
> 
> 
Applied to perf-tools-next, thanks!

Best regards,
Namhyung
Re: [PATCH 0/3] perf jevents: Fix build when there are other json files in the tree
Posted by Leo Yan 3 months, 3 weeks ago
On Mon, Oct 20, 2025 at 05:08:25PM +0100, James Clark wrote:
> I hit this issue because I'm using clangd with a json compile database.
> Not sure if anyone else will actually hit this, but it's not impossible
> and the fix is trivial anyway. The first commit is the fix so has a tag.
> The other two commits are minor related cleanups.

I can reproduce the issue and the redundant warning, and confirmed
the series can fix them:

Tested-by: Leo Yan <leo.yan@arm.com>