HomeFreeBSD

hwpmc_armv7: plug memory leak

Description

hwpmc_armv7: 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/D41269

Details

Provenance
mhorneAuthored on Aug 3 2023, 2:10 PM
Reviewer
jkoshy
Differential Revision
D41269: hwpmc_armv7: plug memory leak
Parents
rG8bdceaecabd9: hwpmc_arm64: plug memory leak
Branches
Unknown
Tags
Unknown