-
Notifications
You must be signed in to change notification settings - Fork 0
[PW_SID:948351] [BlueZ] tools: add BPF timestamping tests #2758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This patch adds workflow files for ci:
[sync.yml]
- runs every 30 mins.
- sync repo with upstream repo and rebase workflow branch to tip of
master.
- creates PR after reading patches from patchwork.kernel.org
[ci.yml]
- Tests the following checks:
- checkpatch
- gitlint
- make
- make check
[code_scan.yml]
- Static code checker: Coverity and Clang
- Coverity: Submit the result to the coverity website
- Clang Code Scan: Send email with result file to the internal team
To simplify the history, new change will amend to this patch without
creating new patch.
Add some tests for BPF timestamping on Bluetooth sockets. These require additional tester kernel config, and at build time the vmlinux image. Add cgroup mount to test-runner. Add documentation to tester config for this. Add tests: ISO Send - TX BPF Timestamping
|
CheckPatch |
|
GitLint |
|
BuildEll |
|
BluezMake |
|
MakeCheck |
|
MakeDistcheck |
|
CheckValgrind |
|
CheckSmatch |
|
bluezmakeextell |
|
IncrementalBuild |
|
ScanBuild |
a6c8b9c to
d9941ad
Compare
Add some tests for BPF timestamping on Bluetooth sockets.
These require additional tester kernel config, and at build time
the vmlinux image.
Add cgroup mount to test-runner.
Add documentation to tester config for this.
Add tests:
ISO Send - TX BPF Timestamping
Notes:
This probably needs to wait for the corresponding kernel patch series to
settle down.
Makefile.tools | 29 ++++++
configure.ac | 36 ++++++-
doc/test-runner.rst | 26 ++++-
doc/tester.config | 5 +
tools/iso-tester.c | 71 ++++++++++++-
tools/test-runner.c | 1 +
tools/tester.bpf.c | 92 +++++++++++++++++
tools/tester.bpf.h | 7 ++
tools/tester.h | 244 ++++++++++++++++++++++++++++++++++++--------
9 files changed, 463 insertions(+), 48 deletions(-)
create mode 100644 tools/tester.bpf.c
create mode 100644 tools/tester.bpf.h