diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-04 10:08:20 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-04 10:28:50 +0200 |
| commit | 70091eada34c9ebc650dc88dd0e8c9246c5df8f8 (patch) | |
| tree | 6c4fbc2bf24bea4f5360e83fed161af5f8a953ba /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5afc7e9b90b82e0c43615dcf2ff0559909714d83 (diff) | |
tools/nolibc: move the logic of makedev() and friends into functions
Functions make it easier to keep the input and output types straight and
avoid duplicate evaluations of their arguments.
Also these functions will become a bit more complex to handle full
64-bit 'dev_t' which is easier to read in a function.
Still stay compatible with code which expects these to be macros.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260404-nolibc-makedev-v2-3-456a429bf60c@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
