diff options
| author | 2022-08-29 14:47:07 +0200 | |
|---|---|---|
| committer | 2022-08-30 10:56:20 +0200 | |
| commit | c5b81449f915a28bb9c7725e53aebab3ba39b4a2 (patch) | |
| tree | 1cd3e781dfed0f8a271bd0987aa26e4979dc3a3b /tools/testing/selftests/exec/git:/ssh: | |
| parent | perf/hw_breakpoint: Add KUnit test for constraints accounting (diff) | |
| download | linux-dev-c5b81449f915a28bb9c7725e53aebab3ba39b4a2.tar.xz linux-dev-c5b81449f915a28bb9c7725e53aebab3ba39b4a2.zip | |
perf/hw_breakpoint: Provide hw_breakpoint_is_used() and use in test
Provide hw_breakpoint_is_used() to check if breakpoints are in use on
the system.
Use it in the KUnit test to verify the global state before and after a
test case.
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-3-elver@google.com
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
