Page MenuHomeFreeBSD

hwpmc: split out PMC_OP_PMCRW
ClosedPublic

Authored by mhorne on May 26 2023, 6:40 PM.
Tags
None
Referenced Files
F135250715: D40294.id123233.diff
Fri, Nov 7, 11:52 PM
Unknown Object (File)
Wed, Oct 29, 10:22 AM
Unknown Object (File)
Wed, Oct 29, 9:34 AM
Unknown Object (File)
Wed, Oct 29, 9:32 AM
Unknown Object (File)
Wed, Oct 29, 9:07 AM
Unknown Object (File)
Mon, Oct 27, 10:22 PM
Unknown Object (File)
Mon, Oct 27, 1:06 AM
Unknown Object (File)
Tue, Oct 14, 6:46 AM
Subscribers

Details

Diff Detail

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

Event Timeline

jkoshy requested changes to this revision.May 31 2023, 6:48 AM
jkoshy added inline comments.
sys/dev/hwpmc/hwpmc_mod.c
3663

Argument prw is being passed by value so the const is redundant.

How about using a const pointer here instead (const struct pmc_op_pmcrw *prw)?

4371–4372

We could move this line closer to where 'pprw' gets used?

This revision now requires changes to proceed.May 31 2023, 6:48 AM
This revision is now accepted and ready to land.Jun 2 2023, 8:53 PM
This revision was automatically updated to reflect the committed changes.