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
F153478533: D41521.diff
Tue, Apr 21, 9:38 AM
F153459636: D41521.id126289.diff
Tue, Apr 21, 7:20 AM
Unknown Object (File)
Mon, Apr 20, 9:36 PM
Unknown Object (File)
Mon, Apr 20, 1:01 PM
Unknown Object (File)
Sun, Apr 19, 8:17 PM
Unknown Object (File)
Sat, Apr 18, 1:35 PM
Unknown Object (File)
Wed, Apr 8, 11:34 PM
Unknown Object (File)
Wed, Apr 8, 11:30 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