aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2025-03-25 16:00:00 +0000
committerYury Norov <[email protected]>2025-04-29 19:58:38 +0000
commit0405eef6c3bc7d3322f8ceb11a25ad2bea5559f9 (patch)
treef3f227895565dd59d893d5294e402a22c9a25807 /tools/perf/scripts/python/intel-pt-events.py
parentdrm/i915: Convert REG_GENMASK*() to fixed-width GENMASK_U*() (diff)
downloadkernel-0405eef6c3bc7d3322f8ceb11a25ad2bea5559f9.tar.gz
kernel-0405eef6c3bc7d3322f8ceb11a25ad2bea5559f9.zip
test_bits: add tests for GENMASK_U*()
Add some additional tests in lib/tests/test_bits.c to cover the expected/non-expected values of the fixed-type GENMASK_U*() macros. Also check that the result value matches the expected type. Since those are known at build time, use static_assert() instead of normal kunit tests. Signed-off-by: Lucas De Marchi <[email protected]> Signed-off-by: Vincent Mailhol <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Yury Norov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions