[0/2] Cache the arch specific stderrno routine

Message ID 20231201203046.486596-1-acme@kernel.org
Headers
Series Cache the arch specific stderrno routine |

Message

Arnaldo Carvalho de Melo Dec. 1, 2023, 8:30 p.m. UTC
  From: Arnaldo Carvalho de Melo <acme@redhat.com>

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(-)
  

Comments

Ian Rogers Dec. 4, 2023, 7:10 p.m. UTC | #1
On Fri, Dec 1, 2023 at 12:30 PM Arnaldo Carvalho de Melo
<acme@kernel.org> wrote:
>
> From: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> 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()

Reviewed-by: Ian Rogers <irogers@google.com>

Thanks,
Ian

>  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
>
  
Arnaldo Carvalho de Melo Dec. 4, 2023, 7:43 p.m. UTC | #2
Em Mon, Dec 04, 2023 at 11:10:54AM -0800, Ian Rogers escreveu:
> On Fri, Dec 1, 2023 at 12:30 PM Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> > 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()
 
> Reviewed-by: Ian Rogers <irogers@google.com>

Thanks, stamped the patches with that,

- Arnaldo