Page MenuHomeFreeBSD

hwpmc: on process exit, ensure that the owned log is closed
ClosedPublic

Authored by kib on Aug 21 2023, 10:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 21, 1:52 PM
Unknown Object (File)
Mon, Apr 27, 2:36 PM
Unknown Object (File)
Apr 21 2026, 9:38 AM
Unknown Object (File)
Apr 21 2026, 7:20 AM
Unknown Object (File)
Apr 20 2026, 9:36 PM
Unknown Object (File)
Apr 20 2026, 1:01 PM
Unknown Object (File)
Apr 19 2026, 8:17 PM
Unknown Object (File)
Apr 18 2026, 1:35 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Aug 21 2023, 10:36 AM
sys/dev/hwpmc/hwpmc_mod.c
5119

Doesn't this need to be conditional on (po->po_flags & PMC_PO_OWNS_LOGFILE) != 0?

kib marked an inline comment as done.

Check PMC_PO_OWNS_LOGFILE

This revision is now accepted and ready to land.Aug 21 2023, 1:23 PM