diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-09-27 10:49:13 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-09-27 11:32:00 +0200 |
| commit | 74136192e3f6f48670a0bccc7bdc5005b13d94f9 (patch) | |
| tree | 6afa771c919bb835004cf7da3ff8658e94e0053f /tools/perf/python/stackcollapse.py | |
| parent | 94d8ed941d63132fee54204b273ba1fd7dcfc760 (diff) | |
| download | linux-next-74136192e3f6f48670a0bccc7bdc5005b13d94f9.tar.gz linux-next-74136192e3f6f48670a0bccc7bdc5005b13d94f9.zip | |
tools/nolibc: make 64-bit systemcall argument padding generic
Several 32-bit architectures pass a 64-bit systemcall argument
as two 32-bit values requiring alignment to an even register pair.
This case is currently relevant for the ftruncate64() wrapper and handled
by those architectures providing custom wrappers.
With the introduction of pread() and pwrite() wrappers, the same pattern
would lead to a lot of repeated code.
Add a #define, so that the generic code can do the padding where
necessary, without any per-architecture duplication.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260927-nolibc-pread-v1-2-e9af6e47b37a@weissschuh.net
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
