perf_event_tests
perf_event_tests copied to clipboard
Add rdpmc tests using libperf
I will add rdpmc tests using libperf since libperf now supports rdpmc. These tests are based on perf_event_tests/tests/rdpmc, which assumes that libperf is installed in the /usr/local/lib/ directory.
install command :
git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
make -C tools/lib/perf/ DESTDIR=/usr/local/lib/libperf/ install
@deater ,Is there any missing information to merge the pull requests? I would appreciate it if you could comment on it.
@deater , Do you have any comments? If there is no problem, Would you please merge it if there is no problem?
While I like the idea, I don't think duplicating the tests is a good idea.
@robherring , Thank you for your comment.
While I like the idea, I don't think duplicating the tests is a good idea.
Do you mean that I should add tests using libperf to the existing source code in tests/rdpmc instead of creating a new tests/rdpmc_libperf? Or does it mean that adding the same test case is not desirable?