summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2021-04-08 12:36:02 +0200
committerPeter Zijlstra <peterz@infradead.org>2021-04-16 16:32:42 +0200
commitf2c3c32f45002de19c6dec33f32fd259e82f2557 (patch)
tree24c5a38ded00afcf557e4cf67646b53224fd2cc9 /lib
parent97ba62b278674293762c3d91f724f1bb922f04e0 (diff)
selftests/perf_events: Add kselftest for process-wide sigtrap handling
Add a kselftest for testing process-wide perf events with synchronous SIGTRAP on events (using breakpoints). In particular, we want to test that changes to the event propagate to all children, and the SIGTRAPs are in fact synchronously sent to the thread where the event occurred. Note: The "signal_stress" test case is also added later in the series to perf tool's built-in tests. The test here is more elaborate in that respect, which on one hand avoids bloating the perf tool unnecessarily, but we also benefit from structured tests with TAP-compliant output that the kselftest framework provides. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20210408103605.1676875-8-elver@google.com
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions