summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2022-02-07 17:23:36 +0100
committerPaul E. McKenney <paulmck@kernel.org>2022-04-20 17:05:44 -0700
commita7604ba149e76d0449484116e7bf9cd0c26dafb2 (patch)
tree69150aca2efae9cf6bae7d9ff6b7e5dd2810f086 /tools/perf/scripts/python/export-to-postgresql.py
parentacab7bcdb1bc14d5a6a0c3c1d2b9bd681172cf47 (diff)
tools/nolibc/sys: make open() take a vararg on the 3rd argument
Let's pass a vararg to open() so that it remains compatible with existing code. The arg is only dereferenced when flags contain O_CREAT. The function is generally not inlined anymore, causing an extra call (total 16 extra bytes) but it's still optimized for constant propagation, limiting the excess to no more than 16 bytes in practice when open() is called without O_CREAT, and ~40 with O_CREAT, which remains reasonable. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions