Page MenuHomeFreeBSD

hwpmc: Fix compile warning
ClosedPublic

Authored by np on Apr 7 2026, 8:07 PM.
Tags
None
Referenced Files
F159084659: D56296.id175187.diff
Tue, Jun 9, 10:51 PM
Unknown Object (File)
Tue, Jun 2, 10:16 PM
Unknown Object (File)
Wed, May 27, 3:30 PM
Unknown Object (File)
Wed, May 27, 3:19 PM
Unknown Object (File)
Wed, May 27, 11:30 AM
Unknown Object (File)
Wed, May 27, 11:20 AM
Unknown Object (File)
Mon, May 25, 1:15 PM
Unknown Object (File)
Mon, May 25, 1:11 PM
Subscribers
None

Details

Summary

.../sys/dev/hwpmc/hwpmc_mod.c:4640:1: warning: unused function 'pmc_is_multipart' [-Wunused-function]
4640 | pmc_is_multipart(struct pmc_sample *ps)

| ^~~~~~~~~~~~~~~~

1 warning generated.

Fixes: e51ef8ae490f - main - hwpmc: Initial support for AMD IBS
Sponsored by: Chelsio Communications

Diff Detail

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

Event Timeline

np requested review of this revision.Apr 7 2026, 8:07 PM

@ali_mashtizadeh.com is it likely to be used in the near future?

This revision is now accepted and ready to land.Apr 9 2026, 4:00 PM
This revision was automatically updated to reflect the committed changes.