aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hwpmc/hwpmc_ibs.c
Commit message (Collapse)AuthorAgeFilesLines
* pmc: Fix copyright in previous commitsAli Mashtizadeh8 days1-2/+1
| | | | | | | | | | Fix the copyright attribution to Netflix and the date and missing SPDX line in pmc.ibs man page. Sponsored by: Netflix Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/2094
* hwpmc: Initial support for AMD IBSAli Mashtizadeh2026-02-271-0/+614
This patch adds support for AMD IBS. It adds a new class of performance counter that cotains two events: ibs-fetch and ibs-op events. Unlike most existing sampled events, IBS events provide a number of values containing extra information regarding the sample. To support this we use the existing callchain event, and introduce a new flag for multipart payloads. The first 8 bytes of the pc_sample contains a header that defines up to four payloads. Sponsored by: Netflix Reviewed by: imp,mhorne Pull Request: https://github.com/freebsd/freebsd-src/pull/2022