support PERF_TYPE_{HARDWARE|HW_CACHE} in perf_event_open

refs #829
This commit is contained in:
Ken Sato
2017-10-12 16:51:47 +09:00
parent 2ae6883a8b
commit 12840601e1
15 changed files with 685 additions and 51 deletions

3
test/perf_event/Makefile Normal file
View File

@ -0,0 +1,3 @@
all: perf_test
perf_test: perf_test.o perftool.o
perftool.o: perftool.c perftool.h