[PATCH 0/2] Cache the arch specific stderrno routine

From: Arnaldo Carvalho de Melo
Date: Fri Dec 01 2023 - 15:30:59 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Hi,

Please take a look,

- Arnaldo

Arnaldo Carvalho de Melo (2):
perf env: Introduce perf_env__arch_strerrno()
perf env: Cache the arch specific strerrno function in perf_env__arch_strerrno()

tools/perf/builtin-trace.c | 6 ++----
tools/perf/trace/beauty/arch_errno_names.sh | 6 +++---
tools/perf/trace/beauty/beauty.h | 2 --
tools/perf/util/env.c | 9 +++++++++
tools/perf/util/env.h | 6 ++++++
5 files changed, 20 insertions(+), 9 deletions(-)

--
2.41.0