summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2025-01-28 22:22:46 +0100
committerThomas Weißschuh <linux@weissschuh.net>2025-02-03 20:57:39 +0100
commitcfb1bfe9535a74f01a6b9df9fbf1cf0608d13786 (patch)
treedb6c56dc26e8caa53f9e7ae97fbf6e3f3c2d474d /tools/perf/scripts/python/export-to-postgresql.py
parent4da4e35e9d7ebcf575e02791fa3b1784bd0765a2 (diff)
tools/nolibc: make signature of ioctl() more flexible
POSIX defines the signature of ioctl() as follows, to allow passing a pointer or integer without casting: int ioctl(int fildes, int request, ... /* arg */); Nolibc ioctl() expects a pointer, forcing the user to manually cast. Using va_arg to make the signature more flexible would work but seems to prevent inlining of the function. Instead use a macro. "fd" and "req" will still be typechecked through sys_ioctl(). Acked-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions