-
Notifications
You must be signed in to change notification settings - Fork 0
[PW_SID:950146] [BlueZ,v2] tools: add BPF timestamping tests #2766
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
base: workflow
Are you sure you want to change the base?
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 ISO Send - TX BPF + Socket Timestamping
|
CheckPatch |
|
GitLint |
|
BuildEll |
|
BluezMake |
|
MakeCheck |
|
MakeDistcheck |
|
CheckValgrind |
|
CheckSmatch |
|
bluezmakeextell |
|
IncrementalBuild |
|
ScanBuild |
a65fdba to
89a49a5
Compare
df874a4 to
b5c1fe6
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
ISO Send - TX BPF + Socket Timestamping
Notes:
v2:
- automake: nodist, BUILD_SOURCES, CLEANFILES, silence output
- fix return type of tx_tstamp_bpf_process
- separate timestamp tracking for socket & BPF, add test enabling both
- match BPF tskey handling to the current plan
Makefile.tools | 39 +++++++
configure.ac | 36 +++++-
doc/test-runner.rst | 28 ++++-
doc/tester.config | 8 ++
tools/iso-tester.c | 97 +++++++++++++++-
tools/l2cap-tester.c | 2 +-
tools/sco-tester.c | 2 +-
tools/test-runner.c | 1 +
tools/tester-bpf.c | 101 +++++++++++++++++
tools/tester-bpf.h | 7 ++
tools/tester.h | 264 ++++++++++++++++++++++++++++++++++++-------
11 files changed, 531 insertions(+), 54 deletions(-)
create mode 100644 tools/tester-bpf.c
create mode 100644 tools/tester-bpf.h