Page MenuHomeFreeBSD

libpmcstat: fix pmcstat -G on recent -CURRENT w/ drm-kmod
ClosedPublic

Authored by kevans on Apr 29 2023, 3:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 10, 1:08 PM
Unknown Object (File)
Mon, May 4, 9:39 AM
Unknown Object (File)
Sun, May 3, 1:15 PM
Unknown Object (File)
Sun, May 3, 1:00 PM
Unknown Object (File)
Sun, May 3, 1:09 AM
Unknown Object (File)
Wed, Apr 29, 5:14 PM
Unknown Object (File)
Sat, Apr 25, 6:18 AM
Unknown Object (File)
Apr 11 2026, 3:11 PM
Subscribers

Details

Summary

The linuxkpi_gplv2.ko module on recent -CURRENT has absolutely no .text
contents, but it's still loaded. Instead of hitting the later assertion
because 0 is not less than 0, we can just skip this image as we should
not have any samples from it.

Diff Detail

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