1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/lib/libpmcstat
Ruslan Bukin 167b8a609d Fix bug: increment the value of pmcstat_npmcs instead of moving pointer
to the next int position.

Bug was introduced in r324959 ("Extract a set of pmcstat functions and
interfaces to the new internal library -- libpmcstat.")

This fixes pmcstat top mode (-T) operation.
Example: pmcstat -n1 -S clock.hard -T

Reported by:	Peter Holm <peter@holm.cc>
Sponsored by:	DARPA, AFRL
2018-01-16 09:31:01 +00:00
..
libpmcstat_event.c
libpmcstat_image.c
libpmcstat_logging.c Fix bug: increment the value of pmcstat_npmcs instead of moving pointer 2018-01-16 09:31:01 +00:00
libpmcstat_process.c
libpmcstat_string.c
libpmcstat_symbol.c
libpmcstat.h
Makefile
Makefile.depend