bcc/python: Add x86 and sw test to test_attach_perf_event.py
authorDave Marchevsky <davemarchevsky@fb.com>
Thu, 19 Aug 2021 00:06:00 +0000 (17:06 -0700)
committeryonghong-song <ys114321@gmail.com>
Thu, 19 Aug 2021 17:24:22 +0000 (10:24 -0700)
commit04d2039e6407ca14a2673cf585db20b0c6593ef4
tree6032de259adc840bb1f1a850285dbe744666c4b7
parent9871201443482837bf40474a16bbf9f22cd0b193
bcc/python: Add x86 and sw test to test_attach_perf_event.py

Since the current test can't run on github actions since there's no HW
perf counter access, add a test using software page faults perf
event, which might work.

Also, rename the current HW test in there to highlight that it'll work
for PowerPC, and add a similar test for x86.
tests/python/test_attach_perf_event.py