From: Julia Lawall Date: Tue, 30 Dec 2025 16:52:13 +0000 (+0100) Subject: perf addr_location: Update outdated comment X-Git-Tag: v7.0-rc1~16^2~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c55741148294700115ecacd19cb9c173721c1b6a;p=thirdparty%2Flinux.git perf addr_location: Update outdated comment The function addr_location__put() was renamed addr_location__exit() in commit 0dd5041c9a0eaf8c ("perf addr_location: Add init/exit/copy functions"). Make the comment preceding the function consistent with the function itself. Reviewed-by: Ian Rogers Signed-off-by: Julia Lawall Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Ingo Molnar Cc: Jiri Olsa Cc: Kexin Sun Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Ratnadira Widyasari Cc: Xutong Ma Cc: Yumbo Lyu Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/addr_location.c b/tools/perf/util/addr_location.c index 007a2f5df9a6..81a0b79c5e10 100644 --- a/tools/perf/util/addr_location.c +++ b/tools/perf/util/addr_location.c @@ -24,7 +24,7 @@ void addr_location__init(struct addr_location *al) * The preprocess_sample method will return with reference counts for the * in it, when done using (and perhaps getting ref counts if needing to * keep a pointer to one of those entries) it must be paired with - * addr_location__put(), so that the refcounts can be decremented. + * addr_location__exit(), so that the refcounts can be decremented. */ void addr_location__exit(struct addr_location *al) {