From 896106f3f97fde3a847a801d02fc7e77046f0460 Mon Sep 17 00:00:00 2001 From: Treece Burgess Date: Fri, 4 Oct 2024 17:41:40 +0000 Subject: [PATCH] Correcting documentation in PAPI_add_named_event. --- src/papi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/papi.c b/src/papi.c index 676030966..5ddea8b11 100644 --- a/src/papi.c +++ b/src/papi.c @@ -2366,8 +2366,8 @@ PAPI_remove_event( int EventSet, int EventCode ) * * @param EventSet * An integer handle for a PAPI Event Set as created by PAPI_create_eventset. - * @param EventCode - * A defined event such as PAPI_TOT_INS. + * @param EventName + * A string containing the event name as listed in papi_avail or papi_native_avail. * * @retval Positive-Integer * The number of consecutive elements that succeeded before the error.