Page MenuHomeFreeBSD

hwpmc: split out PMC_OP_PMCRW
ClosedPublic

Authored by mhorne on May 26 2023, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 26, 6:22 AM
Unknown Object (File)
Mon, Aug 17, 8:25 AM
Unknown Object (File)
Mon, Aug 17, 8:25 AM
Unknown Object (File)
Fri, Aug 14, 10:35 PM
Unknown Object (File)
Wed, Aug 12, 10:03 PM
Unknown Object (File)
Wed, Aug 12, 8:04 PM
Unknown Object (File)
Mon, Aug 10, 9:13 AM
Unknown Object (File)
Sat, Aug 8, 5:30 PM
Subscribers

Details

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51843
Build 48734: arc lint + arc unit

Event Timeline

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

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)?

4304–4305

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.