perf: Fix wrong comment about default event_idx

Since commit c719f56092 ("perf: Fix and clean up initialization of
pmu::event_idx"), event_idx default implementation has returned 0, not
idx + 1, so fix the comment that can be misleading.

Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
Alexandre Ghiti 2023-08-02 10:03:19 +02:00 • committed by Palmer Dabbelt
commit 366d259ff5
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889