diff options
| author | Cupertino Miranda <cupertino.miranda@oracle.com> | 2024-06-17 15:14:57 +0100 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2024-06-21 13:54:23 -0700 |
| commit | f06ae6194f278444201e0b041a00192d794f83b6 (patch) | |
| tree | 3dfc649391aa0021a8e07a73225564436c139c0c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cc5083d1f3881624ad2de1f3cbb3a07e152cb254 (diff) | |
selftests/bpf: Support checks against a regular expression
Add support for __regex and __regex_unpriv macros to check the test
execution output against a regular expression. This is similar to __msg
and __msg_unpriv, however those expect do substring matching.
Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20240617141458.471620-2-cupertino.miranda@oracle.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
