diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2023-12-01 17:07:34 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-12-04 16:42:15 -0300 |
| commit | 4acef67646f35e14d202d5f534c0fd68d7691b22 (patch) | |
| tree | 4b09ea92e08af3fa77d852bfd8d4621e805eb7f0 /tools/perf/scripts/python/netdev-times.py | |
| parent | 54373b5d53c1f6aa6164ee5bea4761abb16b351c (diff) | |
perf env: Cache the arch specific strerrno function in perf_env__arch_strerrno()
So that we don't have to go thru the series of strcmp(arch) calls for
each id -> string translation.
Reviewed-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Laight <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions