diff options
| author | Zhangjin Wu <falcon@tinylab.org> | 2023-07-07 23:03:26 +0800 |
|---|---|---|
| committer | Willy Tarreau <w@1wt.eu> | 2023-08-23 04:38:02 +0200 |
| commit | 29f5540be3925d76ef6257d23b1782cdbf55c94f (patch) | |
| tree | 6ff997ad0176aa8320fbf01e3ea075c668afbda5 /tools/perf/scripts/python/flamegraph.py | |
| parent | selftests/nolibc: prepare: create /dev/zero (diff) | |
| download | linux-29f5540be3925d76ef6257d23b1782cdbf55c94f.tar.gz linux-29f5540be3925d76ef6257d23b1782cdbf55c94f.zip | |
selftests/nolibc: add EXPECT_PTREQ, EXPECT_PTRNE and EXPECT_PTRER
The syscalls like sbrk() and mmap() return pointers, to test them, more
pointer compare test macros are required, add them:
- EXPECT_PTREQ() expects two equal pointers.
- EXPECT_PTRNE() expects two non-equal pointers.
- EXPECT_PTRER() expects failure with a specified errno.
- EXPECT_PTRER2() expects failure with one of two specified errnos.
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
