summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2026-03-18 16:50:16 +0100
committerThomas Weißschuh <linux@weissschuh.net>2026-03-22 10:40:30 +0100
commitb74be922745989573eedee2a91d987711ef968bd (patch)
tree1df7c8d21df1bf7b680ee6d3637c034128cb970d /tools/perf/scripts/python
parent5662ec000d97d7a84ad4e3f34768ef08c869d0e3 (diff)
tools/nolibc: add support for program_invocation_{,short_}name
Add support for the GNU extensions 'program_invocation_name' and 'program_invocation_short_name'. These are useful to print error messages, which by convention include the program name. As these are global variables which take up memory even if not used, similar to 'errno', gate them behind NOLIBC_IGNORE_ERRNO. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: Willy Tarreau <w@1wt.eu> Link: https://patch.msgid.link/20260318-nolibc-err-h-v4-1-08247a694bd9@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions