diff options
| author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2023-08-02 10:03:19 +0200 | 
|---|---|---|
| committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-08-16 07:28:15 -0700 | 
| commit | 366d259ff597e81d90639ae21269b3f82cd4ebb7 (patch) | |
| tree | 3f8919efcf0ba899eeb6e91d05234cfa94bca5d0 /lib/test_fortify/write_overflow-strncpy-src.c | |
| parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
perf: Fix wrong comment about default event_idx
Since commit c719f56092ad ("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>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions
