mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add a function to detect the existence of the CPU Measurement Sampling Facility on a system. Add a function which extracts the CPU Measurement Sampling Facility characteristics on a system, such as - minimum sample speed - maximum sample speed - current CPU speed - basic sample size in bytes - diagnostic sample size in bytes Add a function to detect the existence of the CPU Measurement Sampling Facility on a system and return the current sampling buffer management characteristics, such as: - minimum supported sampling buffer size - maximum supported sampling buffer size Add a function to detect the existence of the CPU Measurement Counting Facility on a system. Add a function which extracts the CPU Measurement Counting Facility characteristics on a system, such as - counter first version number - counter second version number - counter set authorization level Add a function the returm the PMU type number of a CPU Measurement Facility device driver. These numbers may vary between boots. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
20 lines
295 B
Makefile
20 lines
295 B
Makefile
include ../common.mak
|
|
|
|
lib = libcpumf.a
|
|
|
|
examples = libcpumf_example
|
|
|
|
all: $(lib)
|
|
examples: $(lib) $(examples)
|
|
|
|
objects = libcpumf_pmutype.o libcpumf_cpuset.o libcpumf_support.o
|
|
|
|
$(lib): $(objects)
|
|
|
|
install: all
|
|
|
|
libcpumf_example: libcpumf_example.o $(lib)
|
|
|
|
clean:
|
|
rm -f *.o $(lib) $(examples)
|