bcc: Add test for tracepoint support
authorSasha Goldshtein <goldshtn@gmail.com>
Thu, 30 Jun 2016 18:07:48 +0000 (11:07 -0700)
committerSasha Goldshtein <goldshtn@gmail.com>
Thu, 30 Jun 2016 18:43:40 +0000 (11:43 -0700)
commit798093306b920f1cd52366c966e6f11d40d1710e
treef8e87b5c1408caf681ac5c5ad7addd08c27d385f
parent1198c3c6d9dc46a76c3920d07a77f4f76203c1c2
bcc: Add test for tracepoint support

The test asserts that we can enable the sched_switch tracepoint and read
some events from it. The test is also marked to require kernel 4.7 or
later, because that's where the BPF support for tracepoints was introduced.
tests/python/CMakeLists.txt
tests/python/test_tracepoint.py [new file with mode: 0755]