1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00
freebsd/lib/libpmcstat
Leandro Lupori 926da0492a pmcstat: fix PPC kernel symbol resolution
PowerPC kernel is of DYN type and it has a base address where it is
initially loaded, before being relocated. As the start address passed to
pmcstat_image_link() is where the kernel was relocated to, but the symbols
always use the original base address, we need to subtract it to get the
correct offset.

Reviewed by:	jhibbits
Sponsored by:	Eldorado Research Institute (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D26114
2020-11-05 16:47:23 +00:00
..
libpmcstat_event.c
libpmcstat_image.c pmcstat: fix PPC kernel symbol resolution 2020-11-05 16:47:23 +00:00
libpmcstat_logging.c pmc(3)/hwpmc(4): update supported Intel processors to rely fully on the 2018-05-26 19:29:19 +00:00
libpmcstat_process.c
libpmcstat_string.c
libpmcstat_symbol.c
libpmcstat.h pmcstat: implement showing offsets into symbols in top mode 2020-08-05 19:05:49 +00:00
Makefile pmc: Add include path for libpmcstat as it is an internallib 2020-03-25 01:32:16 +00:00
Makefile.depend