summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/cpumap.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-03-19 13:01:04 +0100
committerMarc Zyngier <maz@kernel.org>2021-03-19 13:01:04 +0100
commita1baa01f7691972964320349a9bb010386fe0dab (patch)
tree77cbab937f28dbcc787774169c66109f28fb4a59 /tools/perf/tests/cpumap.c
parentKVM: arm64: Fix host's ZCR_EL2 restore on nVHE (diff)
parentLinux 5.12-rc3 (diff)
downloadlinux-a1baa01f7691972964320349a9bb010386fe0dab.tar.xz
linux-a1baa01f7691972964320349a9bb010386fe0dab.zip
Merge tag 'v5.12-rc3' into kvm-arm64/host-stage2
Linux 5.12-rc3 Signed-off-by: Marc Zyngier <maz@kernel.org> # gpg: Signature made Sun 14 Mar 2021 21:41:02 GMT # gpg: using RSA key ABAF11C65A2970B130ABE3C479BE3E4300411886 # gpg: issuer "torvalds@linux-foundation.org" # gpg: Can't check signature: No public key
Diffstat (limited to 'tools/perf/tests/cpumap.c')
-rw-r--r--tools/perf/tests/cpumap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/cpumap.c b/tools/perf/tests/cpumap.c
index 29c793ac7d10..0472b110fe65 100644
--- a/tools/perf/tests/cpumap.c
+++ b/tools/perf/tests/cpumap.c
@@ -106,6 +106,8 @@ static int cpu_map_print(const char *str)
return -1;
cpu_map__snprint(map, buf, sizeof(buf));
+ perf_cpu_map__put(map);
+
return !strcmp(buf, str);
}