Re: [PATCH v2 1/2] perf jevents: Use name for special find value

From: John Garry
Date: Tue May 28 2024 - 06:00:33 EST


On 25/05/2024 02:30, Ian Rogers wrote:
-1000 was used as a special value added in Commit 3d5045492ab2 ("perf
pmu-events: Add pmu_events_table__find_event()") to show that 1 table
lacked a PMU/event but that didn't terminate the search in other
tables. Add a new constant PMU_EVENTS__NOT_FOUND for this value and
use it.

Signed-off-by: Ian Rogers<irogers@xxxxxxxxxx>

Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>