diff options
author | Marco Elver <elver@google.com> | 2022-08-29 14:47:06 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-08-30 10:56:20 +0200 |
commit | 724c299c6a0e412b5679d7ebb9b3f4e00bd2aa78 (patch) | |
tree | 8bfb8217cd894939bed900141bc2bb37c6663eeb /lib/logic_pio.c | |
parent | f4054e522531038354bea5c924f286fdd8ae77b5 (diff) | |
download | linux-stable-724c299c6a0e412b5679d7ebb9b3f4e00bd2aa78.tar.gz linux-stable-724c299c6a0e412b5679d7ebb9b3f4e00bd2aa78.tar.bz2 linux-stable-724c299c6a0e412b5679d7ebb9b3f4e00bd2aa78.zip |
perf/hw_breakpoint: Add KUnit test for constraints accounting
Add KUnit test for hw_breakpoint constraints accounting, with various
interesting mixes of breakpoint targets (some care was taken to catch
interesting corner cases via bug-injection).
The test cannot be built as a module because it requires access to
hw_breakpoint_slots(), which is not inlinable or exported on all
architectures.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20220829124719.675715-2-elver@google.com
Diffstat (limited to 'lib/logic_pio.c')
0 files changed, 0 insertions, 0 deletions