HomeFreeBSD

hwpmc_arm64: plug memory leak

Description

hwpmc_arm64: plug memory leak

Free allocated per-CPU structures in the pcpu_fini and finalize methods.

While here, add debug trace entries to these methods.

Reviewed by: jkoshy, andrew
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41268

Details

Provenance
mhorneAuthored on Aug 3 2023, 2:09 PM
Reviewer
jkoshy
Differential Revision
D41268: hwpmc_arm64: plug memory leak
Parents
rG32e47f62724e: sys/README.md: Add a section for documentation
Branches
Unknown
Tags
Unknown