Toomas Soome 1f5679569d libpmc: pmc_init() should avoid overflowing pmc_class_table
Use calloc().

Walk the class list we get from kernel, so we will not add something
the kernel does not know about.

Avoid picking headers from /usr/include.

Differential Revision:	https://reviews.freebsd.org/D36401
2022-09-05 15:23:20 +03:00
..
2019-12-11 17:37:53 +00:00
2022-07-26 11:17:50 +03:00
2021-05-31 17:39:05 -03:00
2021-09-23 06:13:58 +02:00