diff options
| author | Johannes Berg <[email protected]> | 2018-06-20 08:58:30 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-06-27 18:58:49 +0300 |
| commit | 0e2dc70e3d0d503b0cc9c5f74db3eb6db52c9e22 (patch) | |
| tree | 58ea25d9c8ffb3fbc407ffce77823dccbc020af2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 37a3862e1238262e9866d5d66e5f5f9069cee3a1 (diff) | |
bitfield: add tests
Add tests for the bitfield helpers. The constant ones will all
be folded to nothing by the compiler (if everything is correct
in the header file), and the variable ones do some tests against
open-coding the necessary shifts.
A few test cases that should fail/warn compilation are provided
under ifdef.
Suggested-by: Andy Shevchenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions